[Bug 1689] Java crashes everytime I attempt to run a junit test within eclipse

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sat Mar 1 00:54:05 PST 2014


--- Comment #1 from Marc Johnson <mjoh44 at yahoo.com> ---
A few more details.  It's not my code at all.  I commented out the one method
for the the class under testing so none were implemented and it still failed.

I further had a private class in the test file that I commented out as well, so
essentially the junit 4 class is just a few stubs and the error is still

I have a different file under test with nothing but stubs and it too crashes.

I am using the standard junit tester on eclipse even though this is an android
project.  right now I'm testing underlying logic written only in java that
doesn't access any part of the dalvik code (there is some in the class under
test but this is strictly java code with imports below
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

import com.pastelplanet.playmyday.framework.FileIO;

The FileIO implementation within the project has an Android implementation but
is itself an interface, so I created the private generic java implementation
and there were no code errors/warnings to speak of.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140301/6d2142c3/attachment.html 

More information about the distro-pkg-dev mailing list