equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 6175517 |
26 * @bug 6175517 |
27 * @summary Ensure that preRegister etc are called, but not when wrapped |
27 * @summary Ensure that preRegister etc are called, but not when wrapped |
28 * by the class StandardMBean |
28 * by the class StandardMBean |
29 * @author Eamonn McManus |
29 * @author Eamonn McManus |
|
30 * @modules java.management |
30 * @run clean MXBeanPreRegisterTest |
31 * @run clean MXBeanPreRegisterTest |
31 * @run build MXBeanPreRegisterTest |
32 * @run build MXBeanPreRegisterTest |
32 * @run main MXBeanPreRegisterTest |
33 * @run main MXBeanPreRegisterTest |
33 */ |
34 */ |
34 |
35 |