Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 28224 Details for
Bug 103051
Declare Soft not Affecting Explicit Adviceexecution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch that makes performance acceptable on my test app
stringBufferReadCLWA.patch.txt (text/plain), 1.13 KB, created by
Ron Bodkin
on 2005-10-13 06:48:14 EDT
(
hide
)
Description:
patch that makes performance acceptable on my test app
Filename:
MIME Type:
Creator:
Ron Bodkin
Created:
2005-10-13 06:48:14 EDT
Size:
1.13 KB
patch
obsolete
>Index: ClassLoaderWeavingAdaptor.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java,v >retrieving revision 1.16 >diff -u -r1.16 ClassLoaderWeavingAdaptor.java >--- ClassLoaderWeavingAdaptor.java 11 Oct 2005 14:39:33 -0000 1.16 >+++ ClassLoaderWeavingAdaptor.java 13 Oct 2005 10:47:46 -0000 >@@ -416,16 +416,17 @@ > * @return the bytecode representation of the aspect > */ > private String readAspect(String name, ClassLoader loader){ >+ System.err.println("reading aspect: "+name+" at "+loader.getClass()+" id= "+System.identityHashCode(loader)); > try { >- String result = ""; >+ StringBuffer result = new StringBuffer(); > InputStream is = loader.getResourceAsStream(name.replace('.','/')+".class"); > int b = is.read(); > while(b!=-1){ >- result = result + b; >+ result.append(b); > b=is.read(); > } > is.close(); >- return result; >+ return result.toString(); > } catch (IOException e) { > e.printStackTrace(); > return "";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 103051
: 28224