hotspot/src/share/vm/runtime/java.hpp
changeset 32823 ca8fef4cd57b
parent 30558 baec90a2699f
child 33975 79d631ab9e16
equal deleted inserted replaced
32822:c49bdfeb5941 32823:ca8fef4cd57b
   135 
   135 
   136   static JDK_Version jdk_update(uint8_t major, uint8_t update_number) {
   136   static JDK_Version jdk_update(uint8_t major, uint8_t update_number) {
   137     return JDK_Version(major, 0, 0, update_number);
   137     return JDK_Version(major, 0, 0, update_number);
   138   }
   138   }
   139 
   139 
       
   140   static JDK_Version undefined() {
       
   141     return JDK_Version(0);
       
   142   }
       
   143 
       
   144   bool is_undefined() const {
       
   145     return (_major == 0);
       
   146   }
       
   147 
   140   uint8_t major_version() const          { return _major; }
   148   uint8_t major_version() const          { return _major; }
   141   uint8_t minor_version() const          { return _minor; }
   149   uint8_t minor_version() const          { return _minor; }
   142   uint8_t micro_version() const          { return _micro; }
   150   uint8_t micro_version() const          { return _micro; }
   143   uint8_t update_version() const         { return _update; }
   151   uint8_t update_version() const         { return _update; }
   144   uint8_t special_update_version() const { return _special; }
   152   uint8_t special_update_version() const { return _special; }