< prev index next >

test/hotspot/jtreg/runtime/condy/staticInit/Example.jasm

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

*** 23,11 ***
  
  // This class gets an initialization error in a condy invokestatic.  Need jasm so that StaticInit isn't
  // initialized before the condy call.
  // Test that second invocation gets same error as first.
  
! public class Example
          version 55:0
  {
  
  
  static Method $jacocoInit:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;"
--- 23,11 ---
  
  // This class gets an initialization error in a condy invokestatic.  Need jasm so that StaticInit isn't
  // initialized before the condy call.
  // Test that second invocation gets same error as first.
  
! super public class Example
          version 55:0
  {
  
  
  static Method $jacocoInit:"(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;"
< prev index next >