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
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
private void weaveParentsFor(List<String> typesForWeaving, String typeToWeave, ResolvedType resolvedTypeToWeave) { if (resolvedTypeToWeave == null) { resolvedTypeToWeave = world.resolve(typeToWeave); } ResolvedType superclassType = resolvedTypeToWeave.getSuperclass(); String superclassTypename = (supercl...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
public void prepareToProcessReweavableState() { } public void processReweavableStateIfPresent(String className, BcelObjectType classType) { WeaverStateInfo wsi = classType.getWeaverState(); if (wsi != null && wsi.isReweavable()) { world.showMessage(IMessage.INFO, WeaverMessages.format(WeaverMessa...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} else { if (!xcutSet.containsAspect(rtx)) { world.showMessage(IMessage.ERROR, WeaverMessages.format( WeaverMessages.REWEAVABLE_ASPECT_NOT_REGISTERED, rtx.getName(), className), null, null); } else if (!world.getMessageHandler().isIgnoring(IMessage...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } private void weaveAndNotify(UnwovenClassFile classFile, BcelObjectType classType, IWeaveRequestor requestor) throws IOException { trace.enter("weaveAndNotify", this, new Object[] { classFile, classType, requestor }); ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WE...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
* helper method - will return NULL if the underlying delegate is an EclipseSourceType and not a BcelObjectType */ public BcelObjectType getClassType(String forClass) { return BcelWorld.getBcelObjectType(world.resolve(forClass)); } public void addParentTypeMungers(String typeName) { weaveParentTypeMungers(world...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
*/ public void weaveParentTypeMungers(ResolvedType onType) { if (onType.isRawType()) { onType = onType.getGenericType(); } onType.clearInterTypeMungers(); List<DeclareParents> decpToRepeat = new ArrayList<DeclareParents>(); boolean aParentChangeOccurred = false; boolean anAnnotationChangeOccurred = fals...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
boolean typeChanged = applyDeclareParents(decp, onType); if (typeChanged) { aParentChangeOccurred = true; } else { decpToRepeatNextTime.add(decp); } } for (DeclareAnnotation decA : xcutSet.getDeclareAnnotationOnTypes()) { boolean typeChanged = applyDeclareAtType(decA, onType, false); ...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
return false; } AnnotationAJ annoX = decA.getAnnotation(); boolean problemReported = verifyTargetIsOK(decA, onType, annoX, reportProblems); if (!problemReported) { AsmRelationshipProvider.addDeclareAnnotationRelationship(world.getModelAsAsmManager(), decA.getSourceLocation(), onType.getSourceL...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} return didSomething; } /** * Checks for an @target() on the annotation and if found ensures it allows the annotation to be attached to the target type * that matched. */ private boolean verifyTargetIsOK(DeclareAnnotation decA, ResolvedType onType, AnnotationAJ annoX, boolean outputProblems) { boolean pro...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} /** * Apply a single declare parents - return true if we change the type */ private boolean applyDeclareParents(DeclareParents p, ResolvedType onType) { boolean didSomething = false; List<ResolvedType> newParents = p.findMatchingNewParents(onType, true); if (!newParents.isEmpty()) { didSomething = true...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
public void weaveNormalTypeMungers(ResolvedType onType) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.PROCESSING_TYPE_MUNGERS, onType.getName()); if (onType.isRawType() || onType.isParameterizedType()) { onType = onType.getGenericType(); } for (ConcreteTypeM...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
ReferenceType resolvedClassType = classType.getResolvedTypeX(); if (world.isXmlConfigured() && world.getXmlConfiguration().excludesType(resolvedClassType)) { if (!world.getMessageHandler().isIgnoring(IMessage.INFO)) { world.getMessageHandler().handleMessage( MessageUtil.info("Type '" + resolvedClassT...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
isChanged = BcelClassWeaver.weave(world, clazz, shadowMungers, typeMungers, lateTypeMungerList, inReweavableMode); } checkDeclareTypeErrorOrWarning(world, classType); if (mightNeedBridgeMethods) { isChanged = BcelClassWeaver.calculateAnyRequiredBridgeMethods(world, clazz) || isChanged; ...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
classDebugInfo = clazz.getClassName(); } String messageText = "trouble in: \n" + classDebugInfo; getWorld().getMessageHandler().handleMessage(new Message(messageText, IMessage.ABORT, re, null)); } } else { checkDeclareTypeErrorOrWarning(world, classType); } AsmManager model = wor...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
removeSourceFileIfNoMoreTypeDeclarationsInside(hierarchy, typeElement, parent); } else { hierarchy.forget(null, typeElement); walkUpRemovingEmptyTypesAndPossiblyEmptySourceFile(hierarchy, tname, parent); } } } } if (dump) { dum...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
world.demote(); } } private void walkUpRemovingEmptyTypesAndPossiblyEmptySourceFile(AspectJElementHierarchy hierarchy, String tname, IProgramElement typeThatHasChildRemoved) { while (typeThatHasChildRemoved != null && !(typeThatHasChildRemoved.getKind().isType() || typeThatHasChildRemoved.getKind().i...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } } } private void removeSourceFileIfNoMoreTypeDeclarationsInside(AspectJElementHierarchy hierarchy, IProgramElement typeElement, IProgramElement sourceFileNode) { IProgramElement compilationUnit = sourceFileNode; boolean anyOtherTypeDeclarations = false; for (IProgramElement child : compilationUnit.g...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
private boolean hasInnerType(IProgramElement typeNode) { for (IProgramElement child : typeNode.getChildren()) { IProgramElement.Kind kind = child.getKind(); if (kind.isType()) { return true; } if (kind.isType() || kind == IProgramElement.Kind.METHOD || kind == IProgramElement.Kind.CONSTRUC...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
} } } private void dumpUnchanged(UnwovenClassFile classFile) throws IOException { if (zipOutputStream != null) { writeZipEntry(getEntryName(classFile.getJavaClass().getClassName()), classFile.getBytes()); } else { classFile.writeUnchangedBytes(); } } private String getEntryName(String className) { ...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
ZipEntry newEntry = new ZipEntry(name); zipOutputStream.putNextEntry(newEntry); zipOutputStream.write(bytes); zipOutputStream.closeEntry(); } /** * Perform a fast match of the specified list of shadowmungers against the specified type. A subset of those that might match is * returned. * * @param li...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
continue; } } Pointcut pointcut = munger.getPointcut(); long starttime = System.nanoTime(); FuzzyBoolean fb = pointcut.fastMatch(info); long endtime = System.nanoTime(); world.recordFastMatch(pointcut, endtime - starttime); if (fb.maybeTrue()) { result.add(munger); } } } e...
350,855
Bug 350855 overweaving misbehaving when subclassing WeavingURLClassLoader
Raised by the Spring Insight team, they observed that in a system where they are using a special classloader (subclassing weaving url classloader) they see it fail to weave an aspect if overweaving is on.
resolved fixed
2302e94
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-30T15:34:56Z
2011-06-30T16:06:40Z
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
inReweavableMode = !xNotReweavable; WeaverStateInfo.setReweavableModeDefaults(!xNotReweavable, false, true); } public boolean isReweavable() { return inReweavableMode; } public World getWorld() { return world; } public void tidyUp() { if (trace.isTraceEnabled()) { trace.enter("tidyUp", this); } sha...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
/* ******************************************************************* * Copyright (c) 2002-2010 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 *...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
import java.io.ByteArrayOutputStream; 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 ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
import org.aspectj.apache.bcel.generic.InstructionHandle; import org.aspectj.apache.bcel.generic.InstructionList; import org.aspectj.apache.bcel.generic.ObjectType; import org.aspectj.apache.bcel.generic.Type; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.ISourceLocation; import org.aspectj.bridge.Sourc...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
private static final int ACC_SYNTHETIC = 0x1000; private static final String[] NO_STRINGS = new String[0]; int highestLineNumber = 0; private final SortedMap<String, InlinedSourceFileInfo> inlinedFiles = new TreeMap<String, InlinedSourceFileInfo>(); private boolean regenerateGenericSignatureAttribute = false; pri...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
int highestLineNumber; int offset; InlinedSourceFileInfo(int highestLineNumber) { this.highestLineNumber = highestLineNumber; } } void addInlinedSourceFileInfo(String fullpath, int highestLineNumber) { Object o = inlinedFiles.get(fullpath); if (o != null) { InlinedSourceFileInfo info = (InlinedSource...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
return inlinedFiles.get(fullpath).offset; }
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
public static void disassemble(String path, String name, PrintStream out) throws IOException { if (null == out) { return; } BcelWorld world = new BcelWorld(path); UnresolvedType ut = UnresolvedType.forName(name); ut.setNeedsModifiableDelegate(true); LazyClassGen clazz = new LazyClassGen(BcelWorld.getB...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
fact = new InstructionFactory(myGen, cp); regenerateGenericSignatureAttribute = true; this.world = world; } public LazyClassGen(BcelObjectType myType) { myGen = new ClassGen(myType.getJavaClass()); cp = myGen.getConstantPool(); fact = new InstructionFactory(myGen, cp); this.myType = myType; world = my...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} hasClinit = true; } } if (!getType().isInterface() && !hasSerialVersionUIDField && world.isAddSerialVerUID()) { calculatedSerialVersionUID = myGen.getSUID(); FieldGen fg = new FieldGen(Constants.ACC_PRIVATE | Constants.ACC_FINAL | Constants.ACC_STATIC, BasicType.LONG, "serialVersionUI...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} } public static boolean hasSerialVersionUIDField(ResolvedType type) { ResolvedMember[] fields = type.getDeclaredFields(); for (int i = 0; i < fields.length; i++) { ResolvedMember field = fields[i]; if (field.getName().equals("serialVersionUID") && Modifier.isStatic(field.getModifiers()) && field.getT...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} } /** * Returns the packagename - if its the default package we return an empty string */ public String getPackageName() { if (packageName != null) { return packageName; } String str = getInternalClassName(); int index = str.indexOf("<"); if (index != -1) { str = str.substring(0, index); } ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
public void addMethodGen(LazyMethodGen gen, ISourceLocation sourceLocation) { addMethodGen(gen); if (!gen.getMethod().isPrivate()) { warnOnAddedMethod(gen.getMethod(), sourceLocation); } } public void errorOnAddedField(FieldGen field, ISourceLocation sourceLocation) { if (isSerializable && !hasSerialVersio...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
return world; } public List<LazyMethodGen> getMethodGens() { return methodGens; } public List<BcelField> getFieldGens() { return fields; } private void writeBack(BcelWorld world) { if (getConstantPool().getSize() > Short.MAX_VALUE) { reportClassTooBigProblem(); return; } if (annotations.size() > ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} if (myType != null && myType.getWeaverState() != null) { myGen.addAttribute(Utility.bcelAttribute(new AjAttribute.WeaverState(myType.getWeaverState()), getConstantPool())); } addAjcInitializers(); boolean sourceDebugExtensionSupportSwitchedOn = false; if (sourceDebugExtensionSu...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
BcelField gen = fields.get(i); myGen.addField(gen.getField(cp)); } if (sourceDebugExtensionSupportSwitchedOn) { if (inlinedFiles.size() != 0) { if (hasSourceDebugExtensionAttribute(myGen)) { world.showMessage(IMessage.WARNING, WeaverMessages.format(WeaverMessages.OVERWRITE_JSR45, getFileName()), null...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
return; } if (!regenerateGenericSignatureAttribute) { return; } Signature sigAttr = null; if (myType != null) { sigAttr = (Signature) myGen.getAttribute("Signature"); } boolean needAttribute = false; if (sigAttr != null) { needAttribute = true; } ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
for (int i = 0; i < interfaceRTXs.length; i++) { ResolvedType typeX = interfaceRTXs[i]; if (typeX.isGenericType() || typeX.isParameterizedType()) { needAttribute = true; } } if (extraSuperInterfaces != null) { for (int i = 0; i < extraSuperInterfaces.length; i++) { ResolvedType i...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (needAttribute) { StringBuffer signature = new StringBuffer(); if (myType != null) { TypeVariable[] tVars = myType.getTypeVariables(); if (tVars.length > 0) { signature.append("<"); for (int i = 0; i < tVars.length; i++) { TypeVariable variable = tVars[i]; signature.append(var...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (sigAttr != null) { myGen.removeAttribute(sigAttr); } myGen.addAttribute(createSignatureAttribute(signature.toString())); } } /** * Helper method to create a signature attribute based on a string signature: e.g. "Ljava/lang/Object;LI<Ljava/lang/Double;>;" */ private Signature createSignatureAttrib...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
new SourceLocation(new File(myGen.getFileName()), 0), null); } private static boolean hasSourceDebugExtensionAttribute(ClassGen gen) { return gen.hasAttribute("SourceDebugExtension"); } public JavaClass getJavaClass(BcelWorld world) { writeBack(world); return myGen.getJavaClass(); } public byte[] getJavaCla...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (extraSuperInterfaces == null) { extraSuperInterfaces = new ResolvedType[1]; extraSuperInterfaces[0] = newInterface; } else { ResolvedType[] x = new ResolvedType[extraSuperInterfaces.length + 1]; System.arraycopy(extraSuperInterfaces, 0, x, 1, extraSuperInterfaces.length); x[0] = newInterface; ex...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} return myType.getSuperclass(); } public String[] getInterfaceNames() { return myGen.getInterfaceNames(); } private List<LazyClassGen> getClassGens() { List<LazyClassGen> ret = new ArrayList<LazyClassGen>(); ret.add(this); ret.addAll(classGens); return ret; } public List<UnwovenClassFile.ChildClass...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
return toShortString(); } public String toShortString() { String s = org.aspectj.apache.bcel.classfile.Utility.accessToString(myGen.getModifiers(), true); if (s != "") { s += " "; } s += org.aspectj.apache.bcel.classfile.Utility.classOrInterface(myGen.getModifiers()); s += " "; s += myGen.getClassName(...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
private void printOne(PrintStream out) { out.print(toShortString()); out.print(" extends "); out.print(org.aspectj.apache.bcel.classfile.Utility.compactClassName(myGen.getSuperclassName(), false)); int size = myGen.getInterfaces().length; if (size > 0) { out.print(" implements "); for (int i = 0; i < si...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
continue; } gen.print(out, (myType != null ? myType.getWeaverVersionAttribute() : WeaverVersionInfo.UNKNOWN)); if (iter.hasNext()) { out.println(); } } out.println("end " + toShortString()); } private boolean isEmptyClinit(LazyMethodGen gen) { if (!gen.getName().equals("<clinit>")) { retur...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} public boolean isWoven() { return myType.getWeaverState() != null; } public boolean isReweavable() { if (myType.getWeaverState() == null) { return true; } return myType.getWeaverState().isReweavable(); } public Set<String> getAspectsAffectingType() { if (myType.getWeaverState() == null) { return ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (gen.getName().equals("<clinit>")) { return gen; } } LazyMethodGen clinit = new LazyMethodGen(Modifier.STATIC, Type.VOID, "<clinit>", new Type[0], NO_STRINGS, this); clinit.getBody().insert(InstructionConstants.RETURN); methodGens.add(clinit); return clinit; } /** * Retrieve the ajc$preClinit me...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
methodGens.add(ajcPreClinit); getStaticInitializer().getBody().insert(Utility.createInvoke(fact, ajcPreClinit)); return ajcPreClinit; } /** * factory method for building multiple extended clinit methods. Constructs a new clinit method that invokes the previous one * and then returns it. The index is used as a...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
private static final ObjectType sigType = new ObjectType("org.aspectj.lang.Signature"); private static final ObjectType factoryType = new ObjectType("org.aspectj.runtime.reflect.Factory"); private static final ObjectType classType = new ObjectType("java.lang.Class"); public Field getTjpField(BcelShadow shadow, f...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (world.isTargettingAspectJRuntime12()) { jpType = staticTjpType; } else { jpType = isEnclosingJp ? enclosingStaticTjpType : staticTjpType; } if (tjpFieldsCounter == -1) { if (!world.isOverWeaving()) { tjpFieldsCounter = 0; } else { List<BcelField> existingFields = getFieldGens(); if...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
FieldGen fGen = new FieldGen(modifiers, jpType, "ajc$tjp_" + tjpFieldsCounter++, getConstantPool()); addField(fGen); tjpField = fGen.getField(); tjpFields.put(shadow, tjpField); return tjpField; } /** * Create a field in the type containing the shadow where the annotation retrieved during binding can be sto...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
private BcelShadow shadow; private ResolvedType annotationType; CacheKey(BcelShadow shadow, ResolvedType annotationType) {
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
this.shadow = shadow; this.annotationType = annotationType; } @Override public int hashCode() { return shadow.hashCode() * 37 + annotationType.hashCode(); } @Override public boolean equals(Object other) { if (!(other instanceof CacheKey)) { return false; } CacheKey oCacheKey = (CacheKey) ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
private void addAjcInitializers() { if (tjpFields.size() == 0 && !serialVersionUIDRequiresInitialization) { return; } InstructionList[] il = null; if (tjpFields.size() > 0) { il = initializeAllTjps(); } if (serialVersionUIDRequiresInitialization) { InstructionList[] ilSVUID = new InstructionList[1]...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (this.isInterface()) { prevMethod = getStaticInitializer(); } else { prevMethod = getAjcPreClinit(); } for (int counter = 1; counter <= il.length; counter++) { if (il.length > counter) { nextMethod = createExtendedAjcPreClinit(prevMethod, counter); } prevMethod.getBody().insert(il[counter -...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} private InstructionList[] initializeAllTjps() { Vector<InstructionList> lists = new Vector<InstructionList>(); InstructionList list = initInstructionList(); lists.add(list); List<Map.Entry<BcelShadow, Field>> entries = new ArrayList<Map.Entry<BcelShadow, Field>>(tjpFields.entrySet()); Collections.sort(entr...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
Member sig = shadow.getSignature(); list.append(InstructionFactory.createLoad(factoryType, 0)); list.append(InstructionFactory.PUSH(getConstantPool(), shadow.getKind().getName())); if (world.isTargettingAspectJRuntime12() || !isFastSJPAvailable || !sig.getKind().equals(Member.METHOD)) { list.append(In...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
list.append(InstructionFactory.PUSH(cp, makeString(exceptionTypes))); } list.append(InstructionFactory.PUSH(cp, makeString(sig.getReturnType()))); if (isFastSJPAvailable) { fastSJP = true; } else { list.append(fact.createInvoke(factoryType.getClassName(), signatureMakerName, signatureType, Type....
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
list.append(InstructionFactory.PUSH(cp, makeString(sig.getDeclaringType()))); list.append(InstructionFactory.PUSH(cp, makeString(sig.getParameterTypes()))); list.append(InstructionFactory.PUSH(cp, "")); list.append(InstructionFactory.PUSH(cp, "")); list.append(fact.createInvoke(factoryType.getClassName...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
list.append(InstructionFactory.PUSH(cp, makeString(sig.getModifiers(w)))); list.append(InstructionFactory.PUSH(cp, sig.getName())); list.append(InstructionFactory.PUSH(cp, makeString(sig.getDeclaringType()))); list.append(InstructionFactory.PUSH(cp, makeString(sig.getParameterTypes()))); list.append(Instruc...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
if (staticTjpType.equals(field.getType())) { factoryMethod = "makeSJP"; } else if (enclosingStaticTjpType.equals(field.getType())) { factoryMethod = "makeESJP"; } else { throw new Error("should not happen"); } if (fastSJP) { if (exceptionTypes != null && exceptionTypes.length != 0) { li...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
protected String makeString(UnresolvedType t) { if (t.isArray()) { return t.getSignature().replace('/', '.'); } else { if (t.isParameterizedType()) { return t.getRawType().getName(); } else { return t.getName(); } } } protected String makeString(UnresolvedType[] types) { if (typ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} StringBuilder buf = new StringBuilder(); for (int i = 0, len = names.length; i < len; i++) { if (i > 0) { buf.append(':'); } buf.append(names[i]); } return buf.toString(); } public ResolvedType getType() { if (myType == null) { return null; } return myType.getResolvedTypeX(); } publi...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} fields.add(bcelField); } private void makeSyntheticAndTransientIfNeeded(FieldGen field) { if (field.getName().startsWith(NameMangler.PREFIX) && !field.getName().startsWith("ajc$interField$") && !field.getName().startsWith("ajc$instance$")) { if (!field.isStatic()) { field.setModifiers(fiel...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} } private boolean hasSyntheticAttribute(List<Attribute> attributes) { for (int i = 0; i < attributes.size(); i++) { if ((attributes.get(i)).getName().equals("Synthetic")) { return true; } } return false; } public void addField(FieldGen field, ISourceLocation sourceLocation) { addField(field); ...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} public LazyMethodGen getLazyMethodGen(String name, String signature, boolean allowMissing) { for (LazyMethodGen gen : methodGens) { if (gen.getName().equals(name) && gen.getSignature().equals(signature)) { return gen; } } if (!allowMissing) { throw new BCException("Class " + this.getName() + " doe...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
public void addAnnotation(AnnotationGen a) { if (!hasAnnotation(UnresolvedType.forSignature(a.getTypeSignature()))) { annotations.add(new AnnotationGen(a, getConstantPool(), true)); } } private boolean implementsSerializable(ResolvedType aType) { if (aType.getSignature().equals(UnresolvedTy...
352,389
Bug 352389 overweaving can attribute duplicate attributes, one of which will not deserialize correctly
When overweaving it is possible that a class will get a second WeaverState attribute. This second one will not be valid (it hasn't been correctly configured). This isn't normally a problem because the next thing that happens is that the class is defined to the VM. But if *another* weave step occurs, the malformed attri...
resolved fixed
8553b30
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-18T20:44:33Z
2011-07-18T20:13:20Z
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
} return false; } public boolean isAtLeastJava5() { return (myGen.getMajor() >= Constants.MAJOR_1_5); } /** * Return the next available field name with the specified 'prefix', e.g. for prefix 'class$' where class$0, class$1 exist then * return class$2 */ public String allocateField(String prefix) { int...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
/******************************************************************************* * Copyright (c) 2005 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
import java.util.Properties; import java.util.Set; import java.util.StringTokenizer; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.Constants; import org.aspectj.util.LangUtil; import org.aspectj.weaver.Lint; import org.aspectj.weaver.Lint.Kind; import org.aspectj.weaver.ResolvedType; import org.as...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private final static String AOP_XML = Constants.AOP_USER_XML + ";" + Constants.AOP_AJC_XML + ";" + Constants.AOP_OSGI_XML; private boolean initialized; private List m_dumpTypePattern = new ArrayList(); private boolean m_dumpBefore = false; private boolean dumpDirPerClassloader = false; private boolean hasExcludes ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private List<String> m_aspectIncludeStartsWith = new ArrayList<String>(); private StringBuffer namespace; private IWeavingContext weavingContext; private List concreteAspects = new ArrayList(); private static Trace trace = TraceFactory.getTraceFactory().getTrace(ClassLoaderWeavingAdaptor.class); public ClassLoader...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private BcelWeakClassLoaderReference loaderRef; SimpleGeneratedClassHandler(ClassLoader loader) { loaderRef = new BcelWeakClassLoaderReference(loader); } /** * Callback when we need to define a Closure in the JVM * */ public void acceptClass(String name, byte[] bytes) { try { if (shouldDump(...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} boolean success = true; this.weavingContext = context; if (weavingContext == null) { weavingContext = new DefaultWeavingContext(classLoader); } createMessageHandler(); this.generatedClassHandler = new SimpleGeneratedClassHandler(classLoader); List definitions = weavingContext.getDefinitions(classLoad...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
disable(); bcelWorld = null; weaver = null; } initialized = true; if (trace.isTraceEnabled()) { trace.exit("initialize", isEnabled()); } } /** * Load and cache the aop.xml/properties according to the classloader visibility rules * * @param weaver * @param loader */ List<Definition> parseD...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} String resourcePath = System.getProperty("org.aspectj.weaver.loadtime.configuration", AOP_XML); if (trace.isTraceEnabled()) { trace.event("parseDefinitions", this, resourcePath); } StringTokenizer st = new StringTokenizer(resourcePath, ";"); while (st.hasMoreTokens()) { String nextDefinition = ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
info("using configuration " + weavingContext.getFile(xml)); definitions.add(DocumentParser.parse(xml)); seenBefore.add(xml); } else { warn("ignoring duplicate definition: " + xml); } } } } if (definitions.isEmpty()) { info("no configuration found. Disabling weaver for...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
success = registerAspects(weaver, loader, definitions); registerIncludeExclude(weaver, loader, definitions); registerDump(weaver, loader, definitions); } catch (Exception ex) { trace.error("register definition failed", ex); success = false; warn("register definition failed", (ex instanceof AbortExcepti...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, getMessageHandler()); World world = weaver.getWorld(); setMessageHandler(weaverOption.messageHandler); world.setXlazyTjp(weaverOption.lazyTjp); world.setXHasMemberSupportEnabled(weaverOption.hasMember); world.setTiming(weav...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
world.getLint().setFromProperties(properties); } catch (IOException e) { failure = e; } } if (failure != null || resource == null) { warn("Cannot access resource for -Xlintfile:" + weaverOption.lintFile, failure); } } finally { try { resource.cl...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } private void registerAspectExclude(final BcelWeaver weaver, final ClassLoader loader, final List<Definition> definitions) { String fastMatchInfo = null; for (Definition definition : definitions) { for (String exclude : definition.getAspectExcludePatterns()) { TypePattern excludePattern = new Pattern...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
Lint lint = bcelWorld.getLint(); Kind kind = lint.getLintKind(name); kind.signal(infos, null, null); } @Override public String getContextId() { return weavingContext.getId(); } /** * Register the aspect, following include / exclude rules * * @param weaver * @param loader * @param definitions */ ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
String requiredType = definition.getAspectRequires(aspectClassName); if (requiredType != null) { ((BcelWorld) weaver.getWorld()).addAspectRequires(aspectClassName, requiredType); } String definedScope = definition.getScopeForAspect(aspectClassName); if (definedScope != null) { ((B...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (!gen.validate()) { error("Concrete-aspect '" + concreteAspect.name + "' could not be registered"); success = false; break; } ((BcelWorld) weaver.getWorld()).addSourceObjectType(Utility.makeJavaClass(concreteAspect.name, gen.getBytes()), true); concreteAspects.add(gen); w...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
return success; } private boolean weaveAndDefineConceteAspects() { if (trace.isTraceEnabled()) { trace.enter("weaveAndDefineConceteAspects", this, concreteAspects); } boolean success = true; for (Iterator iterator = concreteAspects.iterator(); iterator.hasNext();) { ConcreteAspectCodeGen gen = (Concrete...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
* @param definitions */ private void registerIncludeExclude(final BcelWeaver weaver, final ClassLoader loader, final List definitions) { String fastMatchInfo = null; for (Iterator iterator = definitions.iterator(); iterator.hasNext();) { Definition definition = (Definition) iterator.next(); for (Iterator i...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
excludeExactName.add(exclude); } else if ((fastMatchInfo = looksLikeEndsWith(exclude)) != null) { excludeEndsWith.add(fastMatchInfo); } else if (exclude .equals("org.codehaus.groovy..* && !org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController*")) { excludeSpecial.add(new String...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (hasStarDot(subPattern, 0)) { return null; } return subPattern.replace('$', '.'); } /** * Checks if the pattern looks like "com.foo.Bar" - an exact name */ private String looksLikeExactName(String typePattern) { if (hasSpaceAnnotationPlus(typePattern, 0) || typePattern.indexOf("*") != -1) { return...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (int i = pos, max = string.length(); i < max; i++) { char ch = string.charAt(i); if (ch == ' ' || ch == '@' || ch == '+') { return true; } } return false; } /** * Determine if something in the string is going to affect our ability to optimize. Checks for: '*' '.' */ private boolean hasStarDo...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
int length = typePattern.length(); if (typePattern.endsWith("..*") && length > 3) { if (typePattern.indexOf("..") == length - 3 && typePattern.indexOf('*') == length - 1) { return typePattern.substring(0, length - 2).replace('$', '.'); } } return null; } /** * Register the dump filter * ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } /** * Determine whether a type should be accepted for weaving, by checking it against any includes/excludes. * * @param className the name of the type to possibly accept * @param bytes the bytecode for the type (in case we need to look inside, eg. annotations) * @return true if it should be accepted fo...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
fastClassName = fastClassName.replace('$', '.'); if (!excludeEndsWith.isEmpty()) { for (String lastPiece : excludeEndsWith) { if (fastClassName.endsWith(lastPiece)) { return false; } } } if (!excludeExactName.isEmpty()) { for (String name : excludeExactName) { if (fastClassName.equals...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (includeStar) { return true; } if (!includeExactName.isEmpty()) { didSomeIncludeMatching = true; for (String exactname : includeExactName) { if (fastClassName.equals(exactname)) { return true; } } } boolean fastAccept = false; for (int i = 0; i < m_includeStartsWith.siz...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (typePattern.matchesStatically(classInfo)) { return false; } } if (includeStar) { return true; } if (!includeExactName.isEmpty()) { didSomeIncludeMatching = true; for (String exactname : includeExactName) { if (fastClassName.equals(exactname)) { return true; ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } finally { this.bcelWorld.demote(); } return accept; } private boolean acceptAspect(String aspectClassName) { if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) { return true; } String fastClassName = aspectClassName.replace('/', '.').replace('.', '$');...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Iterator iterator = m_aspectExcludeTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matchesStatically(classInfo)) { return false; } } boolean accept = true; for (Iterator iterator = m_aspectIncludeTypePattern.iterator...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
ResolvedType classInfo = weaver.getWorld().resolve(UnresolvedType.forName(className), true); for (Iterator iterator = m_dumpTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matchesStatically(classInfo)) { return true; } } ...
353,100
Bug 353100 Need to demote "warning ignoring duplicate definition" from warning to debug
Build Identifier: 1.6.11 This kind of problem can occur for complex class loader hierarchies, and since it is not really a problem, we should make it debug level message so as not to write log messages un-necessarily. Reproducible: Always Steps to Reproduce: 1. Create an application that has some weaved class loaders h...
resolved fixed
c6fb752
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-07-26T15:52:40Z
2011-07-26T11:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (namespace == null) { return ""; } else { return new String(namespace); } } /** * Check to see if any classes are stored in the generated classes cache. Then flush the cache if it is not empty * * @param className TODO * @return true if a class has been generated and is stored in the cache */ ...