< prev index next >

test/jdk/java/lang/reflect/records/IsRecordTest.java

Print this page
*** 1,7 ***
  /*
!  * 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.
--- 1,7 ---
  /*
!  * Copyright (c) 2020, 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.

*** 169,11 ***
              access = access | Opcodes.ACC_FINAL;
          if (isAbstract)
              access = access | Opcodes.ACC_ABSTRACT;
  
          cw.visit(Opcodes.V16,
!                  access,
                   className,
                   null,
                   superName,
                   null);
  
--- 169,11 ---
              access = access | Opcodes.ACC_FINAL;
          if (isAbstract)
              access = access | Opcodes.ACC_ABSTRACT;
  
          cw.visit(Opcodes.V16,
!                  access | Opcodes.ACC_IDENTITY,
                   className,
                   null,
                   superName,
                   null);
  
< prev index next >