On May 8, 2008, at 12:45 PM, Alex Villazon wrote:
>
>
>
>  Then, I put  java.util.Set in first position in the jar... and the  
> weaver seem to have an infinite recursion here...  This time abc.ja  
> extension failed as well :-(
>
  Hi again,
    Sorry, I forgot to give a bigger size to the heap :-(  so weaving  
full java/util with Set in front worked now...
The only remaining problem is the order sensitiveness..   which looks  
like a bug.
    I will try bigger sets trying to find out which classes have to be  
in first position.
Cheers,
Alex
>
> Many thanks,
>
> Alex
>
> villazon_at_villazon-desktop:~/$ cd JDK
> villazon_at_villazon-desktop:~/JDK$ jar cvf ../myrt.jar  java/util/ 
> Set.class java/util/
> villazon_at_villazon-desktop:~/JDK$ cd ..
> villazon_at_villazon-desktop:~/$ java -cp /home/villazon/abc/lib/abc-ja- 
> complete.jar abc.main.Main -verbose  -injars myrt.jar -sourceroots  
> simpleabc/ -outjar abcaspect.jar  -debug dontCheckExceptions
> abc started on Thu May 08 11:22:21 GMT+01:00 2008
> No main class given. Inferred 'java.util.prefs.Base64' as main class.
> Exception in thread "main" polyglot.util.InternalCompilerError:  
> unhandled exception during weaving/optimisation
>         at abc.main.CompileSequence.runSequence(CompileSequence.java: 
> 142)
>         at abc.main.Main.run(Main.java:406)
>         at abc.main.Main.main(Main.java:144)
> Caused by: java.lang.OutOfMemoryError: Java heap space
>         at soot.jimple.toolkits.base.JimpleConstructorFolder 
> $Fact.<init>(JimpleConstructorFolder.java:85)
>         at soot.jimple.toolkits.base.JimpleConstructorFolder 
> $Fact.<init>(JimpleConstructorFolder.java:84)
>         at soot.jimple.toolkits.base.JimpleConstructorFolder 
> $Analysis.newInitialFlow(JimpleConstructorFolder.java:157)
>         at  
> soot 
> .toolkits 
> .scalar.ForwardFlowAnalysis.doAnalysis(ForwardFlowAnalysis.java:86)
>         at soot.jimple.toolkits.base.JimpleConstructorFolder 
> $Analysis.<init>(JimpleConstructorFolder.java:151)
>         at  
> soot 
> .jimple 
> .toolkits 
> .base 
> .JimpleConstructorFolder 
> .internalTransform(JimpleConstructorFolder.java:199)
>         at soot.BodyTransformer.transform(BodyTransformer.java:51)
>         at  
> abc 
> .weaving.matching.AdviceApplication.doMethod(AdviceApplication.java: 
> 246)
>         at  
> abc 
> .weaving 
> .matching 
> .AdviceApplication.computeAdviceLists(AdviceApplication.java:312)
>         at  
> abc 
> .weaving 
> .aspectinfo 
> .GlobalAspectInfo.computeAdviceLists(GlobalAspectInfo.java:482)
>         at abc.main.CompileSequence.weave(CompileSequence.java:447)
>         at abc.main.CompileSequence.runSequence(CompileSequence.java: 
> 115)
>         ... 2 more
Received on Thu May 08 2008 - 12:10:51 BST
This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 10:20:10 BST