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
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
public void setOptionalJoinpoints(String jps) { if (jps==null) return; if (jps.indexOf("arrayconstruction")!=-1) optionalJoinpoint_ArrayConstruction = true; if (jps.indexOf("synchronization")!=-1) optionalJoinpoint_Synchronization = true; } public boolean isJoinpointArrayConstructionEnabled() { return opt...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
* just pulled in for type resolution purposes). */ protected static class TypeMap { private static boolean debug = false; public static int DONT_USE_REFS = 0; public static int USE_WEAK_REFS = 1; public static int USE_SOFT_REFS = 2; public static int policy = USE_SOFT_REFS; private M...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
memoryProfiling = false; if (trace.isTraceEnabled()) trace.exit("<init>"); } /** * Add a new type into the map, the key is the type signature. * Some types do *not* go in the map, these are ones involving * *member* type variables. The reason is that when all you have is the * signature which gi...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
if (type instanceof BoundedReferenceType) { if (debug) System.err.println("Not putting a bounded reference type into the typemap: key="+key+" type="+type); return type; } if (type instanceof MissingResolvedTypeWithKnownSignature) { if (debug) System.err.println("Not putting a missing type ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
if (memoryProfiling && expendableMap.size()>maxExpendableMapSize) { maxExpendableMapSize = expendableMap.size(); } return type; } else { return (ResolvedType) tMap.put(key,type); } } public void report() { if (!memoryProfiling) return; checkq(); w.getMessageHandler().handleMess...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
WeakReference ref = (WeakReference)expendableMap.get(key); if (ref != null) { ret = (ResolvedType) ref.get(); } } else if (policy==USE_SOFT_REFS) { SoftReference ref = (SoftReference)expendableMap.get(key); if (ref != null) { ret = (ResolvedType) ref.get(); } } else { ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
return ret; } public String toString() { StringBuffer sb = new StringBuffer(); sb.append("types:\n"); sb.append(dumpthem(tMap)); sb.append("expendables:\n"); sb.append(dumpthem(expendableMap)); return sb.toString(); } private String dumpthem(Map m) { S...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
ReferenceType refType = (ReferenceType)val; if (refType.getDelegate() instanceof BcelObjectType) { bcelDel++; } else if (refType.getDelegate() instanceof ReflectionBasedReferenceTypeDelegate) { refDel++; } else { otherTypes++; } } else { otherTypes++; } } sb.a...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
!type.equals(UnresolvedType.OBJECT) && (type != null) && (!type.isExposedToWeaver()) && (!type.isPrimitiveType()) ); } /** * This class is used to compute and store precedence relationships between * aspects. */ private static class AspectPrecedenceCalculator { private World world; ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
int order = 0; DeclarePrecedence orderer = null; for (Iterator i = world.getCrosscuttingMembersSet().getDeclareDominates().iterator(); i.hasNext(); ) { DeclarePrecedence d = (DeclarePrecedence)i.next(); int thisOrder = d.compare(firstAspect, secondAspect); if (thisOrder != 0) { if (orderer...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
if (firstAspect.equals(secondAspect)) return 0; int ret = compareByPrecedence(firstAspect, secondAspect); if (ret != 0) return ret; if (firstAspect.isAssignableFrom(secondAspect)) return -1; else if (secondAspect.isAssignableFrom(firstAspect)) return +1; return 0; } private static class...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
} public void validateType(UnresolvedType type) { } private Map workInProgress1 = new HashMap(); public TypeVariable[] getTypeVariablesCurrentlyBeingProcessed(Class baseClass) { return (TypeVariable[])workInProgress1.get(baseClass); } public void recordTypeVariablesCurrentlyBeingProcessed(Class b...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
if (isASMAround) { String s = p.getProperty(xsetACTIVATE_LIGHTWEIGHT_DELEGATES,"true"); fastDelegateSupportEnabled = s.equalsIgnoreCase("true"); if (!fastDelegateSupportEnabled) getMessageHandler().handleMessage(MessageUtil.info("[activateLightweightDelegates=false] Disabl...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/World.java
} public boolean shouldPipelineCompilation() { ensureAdvancedConfigurationProcessed(); return shouldPipelineCompilation; } public void setFastDelegateSupport(boolean b) { if (b && !isASMAround) { throw new BCException("Unable to activate fast delegate support, ASM ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * h...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.StringTokenizer; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.Message; import ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* <p> * A weaving class loader should create a <code>WeavingAdaptor</code> before * any classes are defined, typically during construction. The set of aspects * passed to the adaptor is fixed for the lifetime of the adaptor although the * classpath can be augmented. A system property can be set to allow verbose *...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* adaptor will automatically search the class loader hierarchy to resolve * classes. The adaptor will also search the hierarchy for WeavingClassLoader * instances to determine the set of aspects to be used ofr weaving. * @param loader instance of <code>ClassLoader</code> */ public WeavingAdaptor (WeavingCl...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} else { warn("cannot determine classpath"); } } list.addAll(0,makeClasspath(System.getProperty("sun.boot.class.path"))); return list; } private List getFullAspectPath (ClassLoader loader) { List list = new LinkedList(); for (; loader != null; loader = loader.getParent()) { if (loader instan...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
bcelWorld = new BcelWorld(classPath,messageHandler,null); bcelWorld.setXnoInline(false); bcelWorld.getLint().loadDefaultProperties(); if (LangUtil.is15VMOrGreater()) { bcelWorld.setBehaveInJava5Way(true); } weaver = new BcelWeaver(bcelWorld); registerAspectLibraries(aspectPath); } protected void create...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * Appends URL to path used by the WeavingAdptor to resolve classes * @param url to be appended to search path */ public void addURL(URL url) { File libFile = new File(url.getPath()); try { weaver.addLibraryJarFile(libFile); } catch (IOException ex) { warn("bad library: '" + libFile + "'"); } ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
info("weaving '" + name + "'"); bytes = getAtAspectJAspectBytes(name, bytes); } else { info("not weaving '" + name + "'"); } if (trace.isTraceEnabled()) trace.exit("weaveClass",bytes); } finally { delegateForCurrentClass=null; } } return bytes; } /** ...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private boolean shouldWeaveName (String name) { boolean should = !((name.startsWith("org.aspectj.") || name.startsWith("java.") || name.startsWith("javax.")) || name.startsWith("sun.reflect.")); return should; } /** * We allow @AJ a...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* @param bytes the bytes that define the class * @return byte[] the woven bytes for the class * @throws IOException */ private byte[] getWovenBytes(String name, byte[] bytes) throws IOException { WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes); weaver.weave(wcp); return wcp.getBytes...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
} /* * Register an aspect library with this classloader for use during * weaving. This class loader will also return (unmodified) any of the * classes in the library in response to a <code>findClass()</code> request. * The library is not required to be on the weavingClasspath given when this * classloader wa...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
ret.add(tok.nextToken()); } } return ret; } protected boolean info (String message) { return MessageUtil.info(messageHandler,message); } protected boolean warn (String message) { return MessageUtil.warn(messageHandler,message); } protected boolean warn (String message, Throwable th) { ret...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* @param before whether we are dumping before weaving * @throws Throwable */ protected void dump(String name, byte[] b, boolean before) { String dirName = "_ajdump"; if (before) dirName = dirName + File.separator + "_before"; String className = name.replace('.', '/'); final File dir; if (clas...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private Set ignoring = new HashSet(); private IMessage.Kind failKind; private boolean accumulating = true; private List messages = new ArrayList(); public WeavingAdaptorMessageHandler (PrintWriter writer) { super(writer,true); ignore(IMessage.WEAVEINFO); ignore(IMessage.INFO); this.f...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * Remove a message kind from the list of those ignored from now on. */ public void dontIgnore (IMessage.Kind kind) { if (null != kind) { ignoring.remove(kind); if (kind.equals(IMessage.INFO)) accumulating = false; } } private void addMessage (IMessage message) { if (accumulating && i...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private List unwovenClasses = new ArrayList(); private UnwovenClassFile wovenClass; private boolean isApplyAtAspectJMungersOnly = false; public WeavingClassFileProvider (String name, byte[] bytes) { ensureDelegateInitialized(name, bytes); this.unwovenClass = new UnwovenClassFile(name,dele...
152,873
Bug 152873 Optimize shouldWeaveAnnotationStyleAspect with Patch
null
resolved fixed
f239f2a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T07:59:54Z
2006-08-04T19:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
wovenClass = result; String name = result.getClassName(); if (shouldDump(name.replace('/', '.'), false)) { dump(name, result.getBytes(), false); } } else { String className = result.getClassName(); generatedClasses.put(className,result); generatedC...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
package org.aspectj.apache.bcel.util; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
* if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appe...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
* individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ import java.io.IOException; import java.io.InputStream; import java.util.WeakHashMap; import org.aspectj.apache.bcel.classfile.ClassParser; import org.aspect...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
} /** * Store a new JavaClass into this Repository. */ public void storeClass( JavaClass clazz ) { loadedClasses.put( clazz.getClassName(), clazz ); clazz.setRepository( this ); } /** * Remove class from repository */ public void removeClass(JavaClass clazz) { loadedClasses.re...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
{ String classFile = className.replace('.', '/'); JavaClass RC = findClass( className ); if (RC != null) { return RC; } try { InputStream is = loader.getResourceAsStream( classFile + ".class" ); if(is == null) { throw new ClassNotFoundException(className + " not found."); } ...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/AllTests.java
/* ******************************************************************* * Copyright (c) 2004 IBM * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * http://www.ec...
152,979
Bug 152979 Optimization: Reference Use and URL Caching in ClassLoader Repository
I have found that a lot of memory can get pinned by the BCEL ClassLoaderRepository. For example, on a test configuration of Glassbox with WebLogic over 40 megabytes were pinned in memory due to this loader. (*) I also notice that some of the time spent with loading and parsing redundant classes for shared weaving confi...
resolved fixed
387c3ac
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T11:26:28Z
2006-08-07T14:13:20Z
bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/AllTests.java
public static Test suite() { TestSuite suite = new TestSuite("Tests for BCEL Java5 support"); suite.addTestSuite(RuntimeVisibleParameterAnnotationAttributeTest.class); suite.addTestSuite(AnnotationDefaultAttributeTest.class); suite.addTestSuite(EnclosingMethodAttributeTest.class); suite.addTestSuite(Method...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
/* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, * 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static final IMessage ABORT_NOTHING_TO_RUN = new Message("aborting - nothing to run", IMessage.ABORT, null, null); public static final IMessage FAIL_INCOMPLETE = new Message("run not completed", IMessage.FAIL, null, null); public static final IMessage ABORT_NOMESSAGE = new Mess...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static boolean abort(IMessageHandler handler, String message) { return ((null != handler) && handler.handleMessage(abort(message))); } public static boolean abort(IMessageHandler handler, String message, Throwable t) { if (handler != null) return handler.handleMessage(abort(...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static boolean warn(IMessageHandler handler, String message) { return ((null != handler) && handler.handleMessage(warn(message))); } public static boolean debug(IMessageHandler handler, String message) { return ((null != handler) && handler.handleMessage(debug...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
} else { return new Message(thrown.getMessage(), IMessage.ABORT, thrown, null); } } public static IMessage fail(String message) { if (LangUtil.isEmpty(message)) { return FAIL_NOMESSAGE; } else { return fail(message, (LineReader) null); } ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
} /** * @return IMessage with IMessage.Kind FAIL and message as text * and soure location from reader */ public static IMessage fail(String message, LineReader reader) { ISourceLocation loc = null; if (null == reader) { loc = ISourceLocation.EMPTY; } el...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
return WARNING_NOMESSAGE; } else { return new Message(message, IMessage.WARNING, null, location); } } public static IMessage error(String message) { if (LangUtil.isEmpty(message)) { return ERROR_NOMESSAGE; } else { return new Message(mes...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static ISourceLocation makeSourceLocation(LineReader reader) { LangUtil.throwIaxIfNull(reader, "reader"); int line = reader.getLineNumber(); if (0 < line) { line = 0; } return new SourceLocation(reader.getFile(), line, line, 0); } ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
* @see #print(PrintStream, String, IMessageHolder, IMessageRenderer, IMessageHandler) */ public static void print(PrintStream out, IMessageHolder messageHolder) { print(out, messageHolder, (String) null, (IMessageRenderer) null, (IMessageHandler) null); } /** * Print all message to ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
/** * Print all message to the print stream, starting each on a new line, * with a prefix and using a renderer. * The first line renders a summary: {prefix}MessageHolder: {summary} * Each message line has the following form: * <pre>{prefix}[{kind} {index}]: {rendering}</pre> * (where "{i...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
if (printSummary) { out.println(prefix + "MessageHolder: " + MessageUtil.renderCounts(holder)); } for (Iterator iter = IMessage.KINDS.iterator(); iter.hasNext();) { IMessage.Kind kind = (IMessage.Kind) iter.next(); if (!selector.isIgnoring(kind)) { IMe...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static int numMessages(List messages, Kind kind, boolean orGreater) { if (LangUtil.isEmpty(messages)) { return 0; } IMessageHandler selector = makeSelector(kind, orGreater, null); IMessage[] result = visitMessages(messages, selector, true, false); return result...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public boolean isIgnoring(Kind kind) { return false; } public void dontIgnore(IMessage.Kind kind) { ; } }; return visitMessages(holder, selector, true, false); } public static List getMessages(IMessageHolder holder, ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
* @see MessageHandler#getMessages(Kind) */ public static List getMessages(List messages, IMessage.Kind kind) { if (null == messages) { return Collections.EMPTY_LIST; } if (null == kind) { return messages; } ArrayList result = new ArrayList(); for (I...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
IMessage.Kind k = (IMessage.Kind) iter.next(); if (kind.equals(k.toString())) { return k; } } } return null; } /** * Run visitor over the set of messages in holder, * optionally accumulating those accepted by the visitor */ public ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
return visitMessages(Arrays.asList(messages), visitor, accumulate, abortOnFail); } } /** * Run visitor over a collection of messages, * optionally accumulating those accepted by the visitor * @param messages if null or empty, return IMessage.RA_IMessage * @param visitor run vis...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
result.add(m); } } else if (abortOnFail) { break; } } if (!accumulate || (0 == result.size())) { return IMessage.RA_IMessage; } else { return (IMessage[]) result.toArray(IMessage.RA_IMessage); } } /...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
return PICK_DEBUG; } else if (kind == IMessage.ERROR) { return PICK_ERROR; } else if (kind == IMessage.FAIL) { return PICK_FAIL; } else if (kind == IMessage.INFO) { return PICK_INFO; } else if (kind == IMessage.WARNING) { ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
final IMessage.Kind sought; final boolean floor; final String infix; KindSelector(IMessage.Kind sought) { this(sought, false); } KindSelector(IMessage.Kind sought, boolean floor) { this(sought, floor, null); } KindSelector(IM...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
*/ public boolean handleMessage(IMessage message) { return ((null != message) && !isIgnoring(message.getKind()) && textIn(message)); } public boolean isIgnoring(IMessage.Kind kind) { if (!floor) { return ((null != sought...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
String renderToString(IMessage message); } public static final IMessageRenderer MESSAGE_SCALED = new IMessageRenderer() { public String toString() { return "MESSAGE_SCALED"; } public String renderToString(IMessage message) { if (null == message) { return "((IMess...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
level = 1; } else if ((kind == IMessage.ERROR) || (kind == IMessage.WARNING)) { level = 2; } else { level = 3; } String result = null; switch (level) { case (1) : result = MESSAGE_TOSTRING.ren...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static final IMessageRenderer MESSAGE_LABEL = new IMessageRenderer() { public String toString() { return "MESSAGE_LABEL"; } public String renderToString(IMessage message) { if (null == message) { return "((IMessage) null)"; } return renderMessag...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
/** render message as line, i.e., less than 75 char, no internal line sep, * trying to trim text as needed to end with a full source location */ public static final IMessageRenderer MESSAGE_LINE_FORCE_LOC = new IMessageRenderer() { public String toString() { return "MESSAGE_LINE_FORCE_LOC"; } ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
/** render message as wide line, i.e., less than 256 char, no internal line sep, * except any Throwable thrown */ public static final IMessageRenderer MESSAGE_WIDELINE = new IMessageRenderer() { public String toString() { return "MESSAGE_WIDELINE"; } public String renderToString(IMessag...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
* This renders IMessage as String, ignoring empty elements * and eliding any thrown stack traces. * @return "((IMessage) null)" if null or String rendering otherwise, * including everything (esp. throwable stack trace) * @see renderSourceLocation(ISourceLocation loc) */ public sta...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
result += "\n" + LangUtil.renderException(thrown, elide); } if (message.getExtraSourceLocations().isEmpty()) { return result; } else { return addExtraSourceLocations(message, result); } } public static String addExtraSourceLo...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
/** * Render ISourceLocation to String, ignoring empty elements * (null or ISourceLocation.NO_FILE or ISourceLocation.NO_COLUMN * (though implementations may return 0 from getColumn() when * passed NO_COLUMN as input)). * @return "((ISourceLocation) null)" if null or String rendering * ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
} return sb.toString(); } /** * Render message in a line. * IMessage.Kind is always printed, then any unqualified exception class, * then the remainder of text and location according to their relative scale, * all to fit in max characters or less. * This does not rende...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
} if (0 > textScale) { textScale = -textScale; } if (0 > locScale) { locScale = -locScale; } String text = message.getMessage(); Throwable thrown = message.getThrown(); ISourceLocation sl = message.getSourceLocation(); IMessage.Kind...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
if ((0 != locScale) && (null != sl)) { File f = sl.getSourceFile(); if (f == ISourceLocation.NO_FILE) { f = null; } if (null != f) { loc = f.getName(); } int line = sl.getLine(); int col = sl.getColumn();...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
int extra = locSize - loc.length(); if (0 < extra) { locSize = loc.length(); textSize += extra; } extra = textSize - text.length(); if (0 < extra) { textSize = text.length(); if (locSize < loc.length()) { ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
public static String renderCounts(IMessageHolder holder) { if (0 == holder.numMessages(null, false)) { return "(0 messages)"; } StringBuffer sb = new StringBuffer(); for (Iterator iter = IMessage.KINDS.iterator(); iter.hasNext();) { IMessage.Kind kind = (IMessage.Kind) ite...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
HandlerPrintStream() { super(null == overage ? System.out : overage); } public void println() { println(""); } public void println(Object o) { println(null == o ? "null" : o.toString()); } public ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
* Handle all messages in the second handler using the first * @param handler the IMessageHandler sink for all messages in source * @param holder the IMessageHolder source for all messages to handle * @param fastFail if true, stop on first failure * @return false if any sink.handleMessage(..) failed ...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
return handleAll(sink, source.getMessages(kind, orGreater), fastFail); } /** * Handle messages in the second handler using the first * if they are NOT of this kind (optionally, or greater). * If you pass null as the kind, then all messages are * ignored and this returns true. * @p...
152,388
Bug 152388 NPE in MessageUtil.addExtraSourceLocations
I get this message from an error in a recent dev build of AspectJ with load-time weaving. I don't know how there is a null source location associated with this message, but either it shouldn't be there or MessageUtil line 806 should use this patch: Index: src/org/aspectj/bridge/MessageUtil.java ========================...
resolved fixed
a38edd3
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:48:32Z
2006-07-31T23:53:20Z
bridge/src/org/aspectj/bridge/MessageUtil.java
* Handle messages in the sink. * @param handler the IMessageHandler sink for all messages in source * @param sources the IMessage[] messages to handle * @param fastFail if true, stop on first failure * @return false if any sink.handleMessage(..) failed * @throws IllegalArgumentException if sink...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
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 ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
import org.aspectj.weaver.ICrossReferenceHandler; import org.aspectj.weaver.Lint; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.World; import org.aspectj.weaver.Lint.Kind; import org.aspectj.weaver.bcel.BcelWeaver; import org.aspectj.weaver.loadtime.definiti...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private List m_aspectExcludeStartsWith = new ArrayList(); private List m_aspectIncludeTypePattern = new ArrayList(); private List m_aspectIncludeStartsWith = new ArrayList(); private StringBuffer namespace; private IWeavingContext weavingContext; private static Trace trace = TraceFactory.getTraceFactor...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
weavingContext = new DefaultWeavingContext(classLoader); } createMessageHandler(); this.generatedClassHandler = new GeneratedClassHandler() { /** * Callback when we need to define a Closure in the JVM * * @param name * @param ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) { ; } } ); weaver = new BcelWeaver(bcelWorld); registerDefinitions(weaver, classLoader, definitions); ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
try { info("register classloader " + getClassLoaderName(loader)); if (ClassLoader.getSystemClassLoader().equals(loader)) { String file = System.getProperty("aj5.def", null); if (file != null) { info("using (-Daj5.def) ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} private void registerDefinitions(final BcelWeaver weaver, final ClassLoader loader, List definitions) { try { registerOptions(weaver, loader, definitions); registerAspectExclude(weaver, loader, definitions); registerAspectInclude(weaver, loader, definitions); ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
Definition definition = (Definition) iterator.next(); allOptions.append(definition.getWeaverOptions()).append(' '); } Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, getMessageHandler()); World world = weaver.getWorld(); setM...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
try { Properties properties = new Properties(); properties.load(resource); world.getLint().setFromProperties(properties); } catch (IOException e) { failure = e; } } ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Iterator iterator1 = definition.getAspectExcludePatterns().iterator(); iterator1.hasNext();) { String exclude = (String) iterator1.next(); TypePattern excludePattern = new PatternParser(exclude).parseTypePattern(); m_aspectExcludeTypePattern.add(excludePattern); ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} protected String getContextId () { return weavingContext.getId(); } /** * Register the aspect, following include / exclude rules * * @param weaver * @param loader * @param definitions */ private void registerAspects(final BcelWeaver weaver, final ClassLoader loader, fi...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
namespace = namespace.append(";"+aspectClassName); } } else { lint("aspectExcludedByConfiguration", new String[] { aspectClassName, getClassLoaderName(loader) }); } } } for (Iterator iterat...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } } } if (namespace == null) { enabled = false; info("no aspects registered. Disabling weaver for class loader " + getClassLoaderName(loader)); } if (trace.isTraceEnabled()) trace.exit("registerAspects",enabled); } /*...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
m_includeStartsWith.add(fastMatchInfo); } } for (Iterator iterator1 = definition.getExcludePatterns().iterator(); iterator1.hasNext();) { String exclude = (String) iterator1.next(); TypePattern excludePattern = new PatternParser(exclude).parseTypeP...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
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('$', '.'); } ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } } protected boolean accept(String className, byte[] bytes) { if (m_excludeTypePattern.isEmpty() && m_includeTypePattern.isEmpty()) { return true; } String fastClassName = className.replace('/', '.').replace('$', '.'); for (int i = 0; i < ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
ensureDelegateInitialized(className,bytes); ResolvedType classInfo = delegateForCurrentClass.getResolvedTypeX(); for (Iterator iterator = m_excludeTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matc...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} private boolean acceptAspect(String aspectClassName) { if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) { return true; } String fastClassName = aspectClassName.replace('/', '.').replace('.', '$'); for (i...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } boolean accept = true; for (Iterator iterator = m_aspectIncludeTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); accept = typePattern.matchesStatically(classInfo); if (accept) { ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
return true; } } return false; } /* * shared classes methods */ /** * @return Returns the key. */ public String getNamespace() { if(namespace==null) return ""; else return new String(namespace); } /** * Check to see if any classes are stored in the g...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
generatedClasses = new HashMap(); } private void defineClass(ClassLoader loader, String name, byte[] bytes) { if (trace.isTraceEnabled()) trace.enter("defineClass",this,new Object[] {loader,name,bytes}); Object clazz = null; info("generating class '" + name + "'"); try { Method defineClass ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.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 ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
private final static String OPTION_15 = "-1.5"; private final static String OPTION_lazyTjp = "-XlazyTjp"; private final static String OPTION_noWarn = "-nowarn"; private final static String OPTION_noWarnNone = "-warn:none"; private final static String OPTION_proceedOnError = "-proceedOnError"; privat...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
if (LangUtil.isEmpty(options)) { return weaverOption; } List flags = LangUtil.anySplit(options, " "); Collections.reverse(flags); for (Iterator iterator = flags.iterator(); iterator.hasNext();) { String arg = (String) iterator.next(); ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
String arg = (String) iterator.next(); if (arg.equals(OPTION_15)) { weaverOption.java5 = true; } else if (arg.equalsIgnoreCase(OPTION_lazyTjp)) { weaverOption.lazyTjp = true; } else if (arg.equalsIgnoreCase(OPTION_noinline)) { weaverOpt...