Actually it does. I agree there's some subtleties here. First of all it's not only platform, but also the JVM implementation green or native threads plays important role here. In case of classic green thread JVM 2 is correct on any platform (which is probably is assumed by the
test). In case of native thread Win 32 JVM it is also correct, VM will make every possible attempt to preemt a thread with higher priority and time slising has nothing to do with this (well, keep in mind that
Java thread priorities do not usually map directly to native thread priorities, he-he, so two threads of different Java priorities may be actually of the same native priority, so no preemtion will happen!). In case of native thread Solaris JVM it's thrue that you can have two or more threads of different priorities being timeslised. I guess what I want to say is that this is way too long discussion for an online forum. Get a JAVA TREADS by O'Reilly to get all the details...
regards,
VG.