Skip to content

Commit 12f8db6

Browse files
committed
But these aren't const
1 parent 457bfa5 commit 12f8db6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/oops/constantPool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,8 +1753,8 @@ void ConstantPool::copy_bsm_data(const constantPoolHandle& from_cp,
17531753
ClassLoaderData* loader_data = to_cp->pool_holder()->class_loader_data();
17541754

17551755
// Use the metaspace for the destination constant pool
1756-
const Array<u4>* new_offs = MetadataFactory::new_array<u4>(loader_data, new_offs_len, CHECK);
1757-
const Array<u2>* new_data = MetadataFactory::new_array<u2>(loader_data, new_data_len, CHECK);
1756+
Array<u4>* new_offs = MetadataFactory::new_array<u4>(loader_data, new_offs_len, CHECK);
1757+
Array<u2>* new_data = MetadataFactory::new_array<u2>(loader_data, new_data_len, CHECK);
17581758

17591759
// first, recopy pre-existing parts of both dest arrays:
17601760
int offs_fillp = 0, data_fillp = 0, offs_copied, data_copied;

0 commit comments

Comments
 (0)