/*
 * Copyright (c) 2020, 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.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

// This class was written using jcod because it implements sealed interface
// SealedInterface but is not listed in its PermittedSubclasses attribute.
// It consists of the following:
//
//    package Pkg;
//    public class NotPermitted implements SealedInterface { }
//
class Pkg/NotPermitted {
  0xCAFEBABE;
  0; // minor version
  60; // version
  [15] { // Constant Pool
    ; // first element is empty
    Method #2 #3; // #1     at 0x0A
    class #4; // #2     at 0x0F
    NameAndType #5 #6; // #3     at 0x12
    Utf8 "java/lang/Object"; // #4     at 0x17
    Utf8 "<init>"; // #5     at 0x2A
    Utf8 "()V"; // #6     at 0x33
    class #8; // #7     at 0x39
    Utf8 "Pkg/NotPermitted"; // #8     at 0x3C
    class #10; // #9     at 0x4C
    Utf8 "Pkg/SealedInterface"; // #10     at 0x4F
    Utf8 "Code"; // #11     at 0x65
    Utf8 "LineNumberTable"; // #12     at 0x6C
    Utf8 "SourceFile"; // #13     at 0x7E
    Utf8 "NotPermitted.java"; // #14     at 0x8B
  } // Constant Pool

  0x0031; // access [ ACC_PUBLIC ACC_SUPER ACC_FINAL ]
  #7;// this_cpx
  #2;// super_cpx

  [1] { // Interfaces
    #9;
  } // Interfaces

  [0] { // fields
  } // fields

  [1] { // methods
    { // Member at 0xAA
      0x0001; // access
      #5; // name_cpx
      #6; // sig_cpx
      [1] { // Attributes
        Attr(#11, 29) { // Code at 0xB2
          1; // max_stack
          1; // max_locals
          Bytes[5]{
            0x2AB70001B1;
          };
          [0] { // Traps
          } // end Traps
          [1] { // Attributes
            Attr(#12, 6) { // LineNumberTable at 0xC9
              [1] { // LineNumberTable
                0  26; //  at 0xD5
              }
            } // end LineNumberTable
          } // Attributes
        } // end Code
      } // Attributes
    } // Member
  } // methods

  [1] { // Attributes
    Attr(#13, 2) { // SourceFile at 0xD7
      #14;
    } // end SourceFile
  } // Attributes
} // end class Pkg/NotPermitted