[ http://jira.codehaus.org/browse/AW-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
admin@example... deleted AW-160:
---------------------------------
> IBM JDK issue with WeavingCL
> ----------------------------
>
> Key: AW-160
> URL: http://jira.codehaus.org/browse/AW-160
> Project: AspectWerkz
> Issue Type: Bug
> Reporter: Alexandre Vasseur
> Assignee: Alexandre Vasseur
>
> IBM JDK (1.3 , WSDK 5) is reported to have a bad side effect on WeavingCL
> Need to be reproduced
> Fix will need backport in 1.0
> Note: see AW-156 for issue on true online mode with IBM JRE.
> -- adrian AT redpointsoft DOT com
> -- May 31, 2004
> I have used the ant script with the "aspectwerkz:samples:plug" target,
> passing "-target enhanced.jar" when ant prompts me. I've added this to
> the bootstrap classpath ahead of the JRE system libraries (effectively
> -Xbootclasspath/p) and added tools.jar, aspectwerkz-core-0.9.jar,
> bcel-patch.jar and bcel.jar after the libraries (effectively
> -Xbootclasspath/a). When I run with
> "-Daspectwerkz.definition.file=src/caching-defn.xml
> -Daspectwerkz.transform.verbose=true
> -Daspectwerkz.classloader.clbootclasspath=c:/temp/_boot" I get:
> AspectWerkz - INFO - Pre-processor
> org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor loaded and
> initialized
> sun.misc.Launcher$AppClassLoader@4d1d3073:examples.attribdef.caching.CachingAspect
> [main]
> sun.misc.Launcher$AppClassLoader@4d1d3073:examples.attribdef.caching.CacheTest
> [main]
> Starting Pi caching test...
> sun.misc.Launcher$AppClassLoader@4d1d3073:examples.attribdef.caching.Pi
> [main]
> using method
> using method
> using method
> sun.misc.Launcher$AppClassLoader@4d1d3073:examples.attribdef.caching.CacheStatistics
> [main]
> java.lang.NullPointerException
> at
> examples.attribdef.caching.CacheStatistics.getNrOfMethodInvocationsFor(CacheStatistics.java:52)
> at examples.attribdef.caching.CacheTest.main(CacheTest.java:20)
> Exception in thread "main" CacheStatistics.getNrOfMethodInvocationsFor()
> CacheStatistics.calculateHash()
> This is ideally how I would like to run my application, as it will
> co-operate with the framework best. But because it seems stuck on
> sun.misc.Launcher$AppClassLoader, I imagined that I was doing something
> wrong.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email