< prev index next >

test/langtools/tools/javap/stackmap/StackmapTest.java

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

*** 64,14 ***
          "            return d > 0 ? d++ : d--;\n" +
          "    }\n" +
          "}\n";
  
      private static final String goldenOut =
!         "        frame_type = 255 /* full_frame */\n" +
!         "        frame_type = 255 /* full_frame */\n" +
          "        frame_type = 73 /* same_locals_1_stack_item */\n" +
!         "        frame_type = 255 /* full_frame */\n" +
          "          offset_delta = 19\n" +
          "          offset_delta = 0\n" +
          "          offset_delta = 2\n" +
          "          stack = [ uninitialized 0, uninitialized 0 ]\n" +
          "          stack = [ uninitialized 0, uninitialized 0, double ]\n" +
--- 64,14 ---
          "            return d > 0 ? d++ : d--;\n" +
          "    }\n" +
          "}\n";
  
      private static final String goldenOut =
!         "        frame_type = 255 /* full_entry */\n" +
!         "        frame_type = 255 /* full_entry */\n" +
          "        frame_type = 73 /* same_locals_1_stack_item */\n" +
!         "        frame_type = 255 /* full_entry */\n" +
          "          offset_delta = 19\n" +
          "          offset_delta = 0\n" +
          "          offset_delta = 2\n" +
          "          stack = [ uninitialized 0, uninitialized 0 ]\n" +
          "          stack = [ uninitialized 0, uninitialized 0, double ]\n" +
< prev index next >