bader wrote
hi i have finished all the OS classes, they passed the tests. but when i try to put all of my classes to work together (take all of my vm's and try to test) the string test fails when trying to perform setInt(-num)
somehow it tries to divide by zero. i don't know where the problem could be since the all pass in separate.
The first thing I would check is that there are no missing init() calls in Sys.init(). For instance, your String.setInt() is using divide, so perhaps Math.init() didn't get called.
Also, you may have an initialization order problem in Sys.init()'s calls to the other init() functions. This usually causes crashes before Main.main() gets called in SysTest, but there may be something subtly wrong.
One way to approach debugging this is to copy your OS .vm files into the StringTest directory one at a time and see which one causes the error to appear.
--Mark