Re: [abc-users] abc with dacapo

From: Eric Bodden <bodden_at_st.informatik.tu-darmstadt.de>
Date: Wed, 7 Oct 2009 17:33:30 +0200

Alex, do you weave binary, i.e. into class files or on the source level?

I always weave into DaCapo's JAR files. This works for me without any problem.

Eric

2009/10/7 Alex Villazon <alex.villazon_at_lu.unisi.ch>:
> Hi,
>  I'm trying to weave an aspect with abc into dacapo.
>  It seems that there is an issue with inner classes. I got this error.
>
> Exception in thread "main" polyglot.util.InternalCompilerError: unhandled
> exception during compilation
> at abc.main.CompileSequence.runSequence(CompileSequence.java:110)
> at abc.main.Main.run(Main.java:406)
> at abc.main.Main.main(Main.java:144)
> Caused by: java.lang.RuntimeException: couldn't find class:
> EDU.purdue.cs.bloat.cfg.LoopNode (is your soot-class-path set properly?)
> at soot.SootResolver.bringToHierarchy(SootResolver.java:174)
> at soot.SootResolver.bringToSignatures(SootResolver.java:209)
> at soot.SootResolver.bringToBodies(SootResolver.java:250)
> at soot.SootResolver.processResolveWorklist(SootResolver.java:138)
> at soot.SootResolver.resolveClass(SootResolver.java:124)
> at soot.Scene.loadClass(Scene.java:390)
> at
> abc.ja.eaj.jrag.TypeDecl.refined_AspectJCodegen_getSootClassDecl(TypeDecl.java:1630)
> at abc.ja.eaj.jrag.TypeDecl.getSootClassDecl_compute(TypeDecl.java:4534)
> at abc.ja.eaj.jrag.TypeDecl.getSootClassDecl(TypeDecl.java:4528)
> at abc.ja.eaj.jrag.ClassDecl.abcClass_compute(ClassDecl.java:1897)
> at abc.ja.eaj.jrag.ClassDecl.abcClass(ClassDecl.java:1891)
> at abc.ja.eaj.jrag.ClassDecl.jimplify1phase1(ClassDecl.java:437)
> at abc.ja.eaj.jrag.ASTNode.jimplify1phase1(ASTNode.java:601)
> at abc.ja.eaj.jrag.ASTNode.jimplify1phase1(ASTNode.java:601)
> at abc.ja.eaj.jrag.Program.jimplify1(Program.java:940)
> at abc.ja.eaj.CompileSequence.compile(CompileSequence.java:162)
> at abc.main.CompileSequence.runSequence(CompileSequence.java:100)
>
> The point is that LoopNode is an inner class within dacapo jar..
>
> jar tvf ~/dacapo/dacapo-2006-10-MR2.jar  | grep LoopNode
>  1310 Sat Jan 27 12:00:20 MST 2007
> EDU/purdue/cs/bloat/cfg/FlowGraph$LoopNode.class
>
> Does anybody had similar issue?
>
> I'm using -ext abc.eaj
>
> Thanks,
>
> Alex
>
>
>
>

-- 
Eric Bodden
Software Technology Group, Technische Universität Darmstadt, Germany
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
Received on Wed Oct 07 2009 - 16:33:55 BST

This archive was generated by hypermail 2.2.0 : Thu Oct 08 2009 - 11:10:22 BST