3909N/A * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. 3389N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3389N/A * This code is free software; you can redistribute it and/or modify it 3389N/A * under the terms of the GNU General Public License version 2 only, as 3389N/A * published by the Free Software Foundation. 3389N/A * This code is distributed in the hope that it will be useful, but WITHOUT 3389N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 3389N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 3389N/A * version 2 for more details (a copy is included in the LICENSE file that 3389N/A * You should have received a copy of the GNU General Public License version 3389N/A * 2 along with this work; if not, write to the Free Software Foundation, 3389N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 3389N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 3389N/A * or visit www.oracle.com if you need additional information or have any 3389N/A * @summary Instance filter doesn't filter event if it occurs in native method 3389N/A * @run build JDIScaffold VMConnection 3389N/A * This test tests instance filters for events generated from a native method 3389N/A // Grab the instance (return value) and set up as filter 3389N/A // If not for the filter, this will be called twice 3389N/A args[
1] =
"com.sun.jdi.CommandLineLaunch:main=NativeInstanceFilterTarg";
3389N/A // VM has started, but hasn't started running the test program yet. 3389N/A "Failed: Event from native frame not filtered out.");