File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
test/hotspot/jtreg/gc/stress/gcbasher Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2016, 2019 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2016, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -258,6 +258,7 @@ private ConstantPoolEntry[] decodeConstantPool() {
258258 final int CONSTANT_NameAndType = 12 ;
259259 final int CONSTANT_MethodHandle = 15 ;
260260 final int CONSTANT_MethodType = 16 ;
261+ final int CONSTANT_Dynamic = 17 ;
261262 final int CONSTANT_InvokeDynamic = 18 ;
262263
263264 ConstantPoolEntry [] constantPool = new ConstantPoolEntry [cursor .readUnsignedShort ()];
@@ -319,6 +320,11 @@ private ConstantPoolEntry[] decodeConstantPool() {
319320 cursor .readUnsignedShort (); // descriptor_index
320321 break ;
321322
323+ case CONSTANT_Dynamic :
324+ cursor .readUnsignedShort (); // bootstrap_method_attr_index
325+ cursor .readUnsignedShort (); // name_and_type_index
326+ break ;
327+
322328 case CONSTANT_InvokeDynamic :
323329 cursor .readUnsignedShort (); // bootstrap_method_attr_index
324330 cursor .readUnsignedShort (); // name_and_type_index
You can’t perform that action at this time.
0 commit comments