test/jdk/javax/management/Introspector/ClassLeakTest.java
changeset 50405 449cbde4c40c
parent 47216 71c04702a3d5
--- a/test/jdk/javax/management/Introspector/ClassLeakTest.java	Tue Jun 05 15:56:12 2018 +0200
+++ b/test/jdk/javax/management/Introspector/ClassLeakTest.java	Tue Jun 05 15:56:14 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, 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
@@ -25,6 +25,7 @@
  * @test
  * @bug 4909536
  * @summary Ensure that the Introspector does not retain refs to classes
+ * @requires vm.opt.final.ClassUnloading
  * @author Eamonn McManus
  *
  * @run clean ClassLeakTest