hotspot/src/share/vm/classfile/vmSymbols.cpp
changeset 4450 6d700b859b3e
parent 670 ddf3e9583f2f
child 4562 5d93cb2d2090
equal deleted inserted replaced
4448:d6ec2737186c 4450:6d700b859b3e
   301 inline bool match_F_R(jshort flags) {
   301 inline bool match_F_R(jshort flags) {
   302   const int req = 0;
   302   const int req = 0;
   303   const int neg = JVM_ACC_STATIC | JVM_ACC_SYNCHRONIZED;
   303   const int neg = JVM_ACC_STATIC | JVM_ACC_SYNCHRONIZED;
   304   return (flags & (req | neg)) == req;
   304   return (flags & (req | neg)) == req;
   305 }
   305 }
       
   306 inline bool match_F_Y(jshort flags) {
       
   307   const int req = JVM_ACC_SYNCHRONIZED;
       
   308   const int neg = JVM_ACC_STATIC;
       
   309   return (flags & (req | neg)) == req;
       
   310 }
   306 inline bool match_F_RN(jshort flags) {
   311 inline bool match_F_RN(jshort flags) {
   307   const int req = JVM_ACC_NATIVE;
   312   const int req = JVM_ACC_NATIVE;
   308   const int neg = JVM_ACC_STATIC | JVM_ACC_SYNCHRONIZED;
   313   const int neg = JVM_ACC_STATIC | JVM_ACC_SYNCHRONIZED;
   309   return (flags & (req | neg)) == req;
   314   return (flags & (req | neg)) == req;
   310 }
   315 }
   359   const char* kname = vmSymbols::name_for(class_for(id));
   364   const char* kname = vmSymbols::name_for(class_for(id));
   360   const char* mname = vmSymbols::name_for(name_for(id));
   365   const char* mname = vmSymbols::name_for(name_for(id));
   361   const char* sname = vmSymbols::name_for(signature_for(id));
   366   const char* sname = vmSymbols::name_for(signature_for(id));
   362   const char* fname = "";
   367   const char* fname = "";
   363   switch (flags_for(id)) {
   368   switch (flags_for(id)) {
       
   369   case F_Y:  fname = "synchronized ";  break;
   364   case F_RN: fname = "native ";        break;
   370   case F_RN: fname = "native ";        break;
   365   case F_SN: fname = "native static "; break;
   371   case F_SN: fname = "native static "; break;
   366   case F_S:  fname = "static ";        break;
   372   case F_S:  fname = "static ";        break;
   367   case F_RNY:fname = "native synchronized "; break;
   373   case F_RNY:fname = "native synchronized "; break;
   368   }
   374   }