vogar ../foo/Bar.java fails due to wacky path
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
vogar ../foo/Bar.java fails due to wacky path
Original issue reported on code.google.com by jessewil...@google.com
on 17 Jun 2010 at 9:19
Google Code Exporter commented
The issue has nothing to do funky paths. The pre-verify error (pasted below) is
because the Benchmark class is being compiled in with the benchmark being run,
and so the JVM has two different Benchmark implementations.
To see what I mean, check out a caliper source directory and try to run a
benchmark in vogar. Then, delete caliper/src/com/google and run it again. It
will fail the first time and run the second.
The stacktrace, for reference:
Warning: received bad XML from localhost:8787 <?xml version='1.0'
encoding='UTF-8' ?><vogar-monitor><outcome name="examples.ArraySortBenchmark"
action="examples.ArraySortBenchmark"
runner="vogar.target.CaliperRunner">java.lang.IllegalAccessError: Class ref in
pre-verified class resolved to unexpected implementation
at vogar.target.CaliperRunner.run(CaliperRunner.java:41)
at vogar.target.TestRunner.run(TestRunner.java:166)
at vogar.target.TestRunner.main(TestRunner.java:178)
at dalvik.system.NativeStart.main(Native Method)
Original comment by bjdod...@google.com
on 18 Jun 2010 at 6:01
Google Code Exporter commented
Avoid putting Caliper source files in your test's source tree.
Original comment by bjdod...@google.com
on 18 Jun 2010 at 7:06
- Changed state: WontFix