The Windows specific java launcher 'javaw' does not have class path expansion enabled. This is a bug since it should work according to the J2SE 6 docs at http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html. This problem has also been reported at http://forum.java.sun.com/thread.jspa?threadID=5118123. The fix is to copy the expression "OTHER_CPPFLAGS += -DEXPAND_CLASSPATH_WILDCARDS" from j2se/make/java/main/java/Makefile to j2se/make/java/main/javaw/Makefile.
I agree that java and javaw should treat wildcards consistently.
The proposed fix looks right.
Use the java.exe instead of the javaw.exe launcher in JDK/JRE 6 on Windows.