yong-hu / objenesis

Automatically exported from code.google.com/p/objenesis
0 stars 0 forks source link

JVM_NAME is used instead of VENDOR #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In some places in code i see a line like :
PlatformDescription.isThisJVM(SUN)
The method isThisJVM is implemented as :
public static boolean isThisJVM(String name) {
      return JVM_NAME.startsWith(name);
}
But SUN is the prefix of the vendor not of the name .... 

Original issue reported on code.google.com by shmuel.b...@gmail.com on 21 Aug 2014 at 11:30