if (!VENDOR_VERSION.startsWith("R")) {
// On R25.1 and R25.2, ReflectionFactory should work.
// Otherwise, we must use the
// Legacy instantiator.
if (VM_INFO == null || !VM_INFO.startsWith("R25.1") || !VM_INFO.startsWith("R25.2")) {
return new JRockitLegacyInstantiator(type);
}
}
}
} else if (JVM_NAME.startsWith(GNU)) {
return new GCJInstantiator(type);