File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/net/openhft/hashing Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,17 @@ static private boolean isJ9VM(@NotNull final String name) {
2626 return name .contains ("Eclipse OpenJ9" ) || name .contains ("IBM J9" );
2727 }
2828
29+ static private boolean isZing (@ NotNull final String name ) {
30+ return name .startsWith ("Zing" );
31+ }
32+
2933 @ NotNull
3034 static final StringHash VALID_STRING_HASH ;
3135 static {
3236 StringHash stringHash = null ;
3337 try {
3438 final String vmName = System .getProperty ("java.vm.name" );
35- if (isHotSpotVM (vmName ) || isJ9VM (vmName )) {
39+ if (isHotSpotVM (vmName ) || isJ9VM (vmName ) || isZing ( vmName ) ) {
3640 final String javaVersion = System .getProperty ("java.version" );
3741 if (javaVersion .compareTo ("1.7.0_06" ) >= 0 ) {
3842 if (javaVersion .compareTo ("1.9" ) >= 0 ) {
You can’t perform that action at this time.
0 commit comments