fixes the test for SI-7112

Freshly released Java 1.6.0_41 for Mac fails with "IllegalAccessError:
tried to access class JavaSimpleEnumeration_1 from class sun.proxy.$Proxy6",
and rightfully so, because that class isn't public.