org.chromium.sdk/src/org/chromium/sdk/internal/V8VersionMilestones.java
changeset 2 e4420d2515f1
equal deleted inserted replaced
1:ef76fc2ac88c 2:e4420d2515f1
       
     1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
       
     2 // Use of this source code is governed by a BSD-style license that can be
       
     3 // found in the LICENSE file.
       
     4 
       
     5 package org.chromium.sdk.internal;
       
     6 
       
     7 import org.chromium.sdk.Version;
       
     8 
       
     9 /**
       
    10  * Stores milestone version numbers that marks when a particular feature was implemented.
       
    11  */
       
    12 public class V8VersionMilestones {
       
    13   private final static Version ACCURATE_RUNNING_FIELD = new Version(1, 3, 16);
       
    14 
       
    15   public static boolean isRunningAccurate(Version vmVersion) {
       
    16     return vmVersion != null && ACCURATE_RUNNING_FIELD.compareTo(vmVersion) <= 0;
       
    17   }
       
    18 }