< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetClassModifiers/getclmdf006/getclmdf006.cpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -37,10 +37,11 @@
  #define ACC_PRIVATE     0x0002
  #define ACC_PROTECTED   0x0004
  #define ACC_STATIC      0x0008
  #define ACC_FINAL       0x0010
  #define ACC_SUPER       0x0020
+ #define ACC_PERMITS_VALUE    0x0040
  #define ACC_INTERFACE   0x0200
  #define ACC_ABSTRACT    0x0400
  
  static jvmtiEnv *jvmti = NULL;
  static jint result = PASSED;

@@ -80,10 +81,11 @@
      if (mod & ACC_STATIC) printf(" STATIC");
      if (mod & ACC_FINAL) printf(" FINAL");
      if (mod & ACC_SUPER) printf(" SUPER");
      if (mod & ACC_INTERFACE) printf(" INTERFACE");
      if (mod & ACC_ABSTRACT) printf(" ABSTRACT");
+     if (mod & ACC_PERMITS_VALUE) printf(" PERMITS_VALUE");
      printf(" (0x%0x)\n", mod);
  }
  
  JNIEXPORT void JNICALL
  Java_nsk_jvmti_GetClassModifiers_getclmdf006_check(JNIEnv *env, jclass cls, jclass clazz, jint mod) {
< prev index next >