fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * CDDL HEADER START
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * The contents of this file are subject to the terms of the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Common Development and Distribution License (the "License").
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * You may not use this file except in compliance with the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * See the License for the specific language governing permissions
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * and limitations under the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * When distributing Covered Code, include this CDDL HEADER in each
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * If applicable, add the following below this CDDL HEADER, with the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * fields enclosed by brackets "[]" replaced with your own identifying
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * information: Portions Copyright [yyyy] [name of copyright owner]
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * CDDL HEADER END
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Use is subject to license terms.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#pragma ident "%Z%%M% %I% %E% SMI"
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * This file creates instances of the Java class
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * org.opensolaris.os.dtrace.InterfaceAttributes.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeestatic const char *
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeestatic const char *
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeedtj_new_attribute(dtj_java_consumer_t *jc, const dtrace_attribute_t *attr)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee jattr = (*jenv)->NewObject(jenv, g_attr_jc, g_attrinit_jm);
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee /* name stability */
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee "unexpected name stability value: %d",
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee (*jenv)->CallVoidMethod(jenv, jattr, g_attrset_name_jm, jname);
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee /* data stability */
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee "unexpected data stability value: %d",
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee (*jenv)->CallVoidMethod(jenv, jattr, g_attrset_data_jm, jname);
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee /* dependency class */
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee "unexpected dependency class value: %d",