DaCapo bloat fails with Apache Harmony class library

Description

Running DaCapo bloat fails with:

===== DaCapo bloat starting =====
java.lang.RuntimeException: Class not found: java/lang/Object
java.lang.RuntimeException: Class not found: java/lang/Object
at .<invisible method>(Unknown Source)
at java.lang.Throwable.fillInStackTrace(Throwable.java:131)
at java.lang.Throwable.<init>(Throwable.java:77)
at java.lang.Throwable.<init>(Throwable.java:87)
at java.lang.Exception.<init>(Exception.java:48)
at java.lang.RuntimeException.<init>(RuntimeException.java:44)
at EDU.purdue.cs.bloat.editor.ClassHierarchy.addClass(ClassHierarchy.java:386)
at EDU.purdue.cs.bloat.editor.ClassHierarchy.addClassNamed(ClassHierarchy.java:116)
at EDU.purdue.cs.bloat.editor.ClassHierarchy.getExtendsNode(ClassHierarchy.java:308)
at EDU.purdue.cs.bloat.editor.ClassHierarchy.addClass(ClassHierarchy.java:401)
at EDU.purdue.cs.bloat.editor.ClassHierarchy.addClassNamed(ClassHierarchy.java:116)
at EDU.purdue.cs.bloat.context.PersistentBloatContext.addClasses(PersistentBloatContext.java:116)
at EDU.purdue.cs.bloat.context.CachingBloatContext.<init>(CachingBloatContext.java:70)
at EDU.purdue.cs.bloat.optimize.Main.main(Main.java:413)
at dacapo.bloat.BloatHarness.iterate(BloatHarness.java:25)
at dacapo.Benchmark.run(Benchmark.java:121)
at dacapo.TestHarness.runBenchmark(TestHarness.java:295)
at dacapo.TestHarness.main(TestHarness.java:235)
at Harness.main(Harness.java:5)

I believe this issue relates to the partial class loader implementation in the current Apache Harmony classes in libraryInterface.

Environment

Jikes RVM r14855 Harmony r681495

Status

Assignee

Imported User 21

Reporter

Ian Rogers

Labels

None

Components

Fix versions

Priority

Medium
Configure