[kaffe] erroneous regression test: test/regression/ProcessTest
rgonzale at wso.williams.edu
Mon Jul 14 11:41:02 PDT 2003
When running ProcessTest against either kaffe or Sun's JRE 1.4.1_01 I get
an "arrayIndexOutOfBoundsException" on line 24 in method main(), which
accesses args, where args.length == 0.
I believe the problems is that args traditionally referred to the
executing program, though in Java that's no longer the case, if it ever
was (I don't recall ever using args that way in Java).
If I replace the
String kaffe_exe = args
String kaffe_exe = "kaffe"
then everything's cool on my box, where I execute kaffe without any
I'm not checking in the change because I don't think that it's safe to
assume that "kaffe" is the right command to execute in all systems. In
particular, it doesn't include whatever flags were used to execute the
parent version of the program, but something should be done about this
More information about the kaffe