Index: vm/tests/kernel/java/lang/ThreadGroupTest.java =================================================================== --- vm/tests/kernel/java/lang/ThreadGroupTest.java (revision 449937) +++ vm/tests/kernel/java/lang/ThreadGroupTest.java (working copy) @@ -731,6 +731,16 @@ } /** + * Verify getParent() for the "main" ThreadGroup. + * Checks that the parent of the main thread's ThreadGroup is not null + * (i.e. the main thread is not a system thread). + */ + public void testGetParent_Main() { + assertNotNull("the main thread's ThreadGroup is null", + Thread.currentThread().getThreadGroup().getParent()); + } + + /** * Verify getParent() of a destroyed group */ public void testGetParent_DestroyedGroup() {