8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
This commit is contained in:
parent
5a7886575e
commit
2cc4bf1a9d
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2023, 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
|
||||
@ -47,6 +47,7 @@
|
||||
// package access top-level class to avoid problem with RedefineClassHelper
|
||||
// and nested types.
|
||||
class RedefineFinalizer_B {
|
||||
@SuppressWarnings("removal")
|
||||
protected void finalize() {
|
||||
// should be empty
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user