Searched refs:iface (Results 1 - 25 of 49) sorted by relevance

12

/openjdk10/nashorn/test/script/basic/
H A DJDK-8010199.js34 var iface = e.getInterface(java.lang.Runnable.class); variable
36 if (iface != null) {
42 iface = e.getInterface(java.lang.Runnable.class);
43 if (iface == null) {
47 iface.run();
/openjdk10/hotspot/src/share/vm/prims/
H A DjniExport.hpp33 static bool GetExportedInterface(JavaVM* vm, void** penv, jint version, jint* iface) { argument
35 *iface = JvmtiExport::get_jvmti_interface(vm, penv, version);
/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DWrapper.java57 * @param iface A Class defining an interface that the result must implement.
62 <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; argument
73 * @param iface a Class defining an interface.
79 boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException; argument
/openjdk10/jdk/test/javax/management/proxy/
H A DJMXProxyTest.java136 private static void testNonCompliant(Class<?> iface, boolean isMx) throws Exception { argument
140 iface.getName() + " ...");
146 JMX.newMXBeanProxy(mbs, on, iface);
148 JMX.newMBeanProxy(mbs, on, iface);
151 (isMx ? "MXBean" : "MBean") + " - " + iface.getName());
164 private static void testCompliant(Class<?> iface, boolean isMx) throws Exception { argument
168 iface.getName() + " ...");
174 JMX.newMXBeanProxy(mbs, on, iface);
176 JMX.newMBeanProxy(mbs, on, iface);
179 (isMx ? "MXBean" : "MBean") + " - " + iface
[all...]
H A DJMXProxyFallbackTest.java78 private static void testPrivate(Class<?> iface) throws Exception { argument
81 iface.getName() + " ...");
86 JMX.newMBeanProxy(mbs, on, iface);
87 success("Created a proxy for private M(X)Bean - " + iface.getName());
/openjdk10/jdk/test/javax/management/MBeanServer/
H A DMBeanTest.java114 private static void testNonCompliant(Class<?> iface, Object bean) throws Exception { argument
117 iface.getName() + " ...");
124 fail("Registered a non-compliant MBean - " + iface.getName());
137 private static void testCompliant(Class<?> iface, Object bean) throws Exception { argument
140 iface.getName() + " ...");
146 success("Registered a compliant MBean - " + iface.getName());
H A DMBeanFallbackTest.java72 private static void testPrivate(Class<?> iface, Object bean) throws Exception { argument
75 iface.getName() + " ...");
81 success("Registered a private MBean - " + iface.getName());
/openjdk10/jdk/test/java/net/Inet6Address/
H A DStringScope.java39 NetworkInterface iface = e.nextElement();
40 Enumeration<InetAddress> iadrs = iface.getInetAddresses();
/openjdk10/hotspot/test/runtime/6626217/
H A Dbug_21227.java42 IFace iface = (IFace)clazz2.newInstance();
49 many_loader[] x2 = bug.make(iface);
82 public abstract many_loader[] make( IFace iface ); // abstract factory
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DRemoteObjectInvocationHandler.java242 String iface = interfaces[0].getName();
243 if (iface.equals("java.rmi.Remote") && interfaces.length > 1) {
244 iface = interfaces[1].getName();
246 int dot = iface.lastIndexOf('.');
248 iface = iface.substring(dot + 1);
250 return "Proxy[" + iface + "," + this + "]";
/openjdk10/langtools/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/
H A DTestHarness.java140 * to 'iface' (including the type parameters) and invokes
144 private Class invokeInterfaceHarness(Class specimen, Extends iface, argument
147 iface.getType().getName(), iface.getType().getAccessFlags(),
148 iface.getType().getParameters(),
156 String.format("return ((%s)(new %s())).%s(%s);", iface.toString(),
162 iface.getType().getName(), sm);
233 * through 'iface', compiles and loads both it and 'target', and
238 Extends iface, AbstractMethod method, String ... args) {
243 Class ii = invokeInterfaceHarness(target, iface, metho
237 assertInvokeInterfaceEquals(Object value, Class target, Extends iface, AbstractMethod method, String ... args) argument
254 assertInvokeInterfaceEquals( int value, Class target, Interface iface) argument
265 assertInvokeInterfaceThrows(java.lang.Class<? extends Throwable> errorClass, Class target, Extends iface, AbstractMethod method, String... args) argument
[all...]
/openjdk10/jdk/test/jdk/lambda/separate/
H A DTestHarness.java141 * to 'iface' (including the type parameters) and invokes
145 private Class invokeInterfaceHarness(Class specimen, Extends iface, argument
148 iface.getType().getName(), iface.getType().getAccessFlags(),
149 iface.getType().getParameters(),
157 String.format("return ((%s)(new %s())).%s(%s);", iface.toString(),
163 iface.getType().getName(), sm);
235 * through 'iface', compiles and loads both it and 'target', and
240 Extends iface, AbstractMethod method, String ... args) {
245 Class ii = invokeInterfaceHarness(target, iface, metho
239 assertInvokeInterfaceEquals(Object value, Class target, Extends iface, AbstractMethod method, String ... args) argument
256 assertInvokeInterfaceEquals( int value, Class target, Interface iface) argument
[all...]
/openjdk10/hotspot/test/testlibrary/jittester/src/jdk/test/lib/jittester/factories/
H A DKlassFactory.java262 TypeKlass iface = (TypeKlass) i.next();
263 ArrayList<Symbol> ifaceFuncSet = SymbolTable.getAllCombined(iface, FunctionInfo.class);
269 interfaces.add(iface);
270 iface.addChild(name);
271 thisKlass.addParent(iface.getName());
272 for (Symbol symbol : SymbolTable.getAllCombined(iface, FunctionInfo.class)) {
/openjdk10/hotspot/test/compiler/jvmci/compilerToVM/
H A DGetImplementorTest.java122 public TestCase(Class<?> iface, Class<?> expectedImplementer) { argument
123 this.anInterface = iface;
/openjdk10/jdk/test/java/sql/testng/util/
H A DStubStatement.java246 public <T> T unwrap(Class<T> iface) throws SQLException { argument
251 public boolean isWrapperFor(Class<?> iface) throws SQLException { argument
H A DStubConnection.java307 public <T> T unwrap(Class<T> iface) throws SQLException { argument
312 public boolean isWrapperFor(Class<?> iface) throws SQLException { argument
/openjdk10/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/
H A DRowSetMetaDataImpl.java913 * @param iface A Class defining an interface that the result must implement.
918 public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { argument
920 if(isWrapperFor(iface)) {
921 return iface.cast(this);
923 throw new SQLException("unwrap failed for:"+ iface);
/openjdk10/langtools/test/tools/javac/processing/model/type/
H A DInheritedAP.java96 @interface iface { } interface
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/
H A DNashornBeansLinker.java202 for (final Class<?> iface : clazz.getInterfaces()) {
204 if (! Context.isAccessibleClass(iface)) {
209 if (iface.isAnnotationPresent(FunctionalInterface.class)) {
211 for (final Method m : iface.getMethods()) {
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/annotation/
H A DAnnotationSupport.java217 Class<?> iface = m.getDeclaringClass();
218 if (!iface.isAnnotation())
226 if (!Modifier.isPublic(iface.getModifiers())) {
/openjdk10/jdk/src/java.management.rmi/share/classes/javax/management/remote/rmi/
H A DRMIJRMPServerImpl.java271 for (String iface : ifaces) {
272 if (!allowedTypes.contains(iface)) {
273 throw new ClassCastException("Unsupported type: " + iface);
/openjdk10/langtools/test/tools/javac/lambdaShapes/org/openjdk/tests/vm/
H A DFDSeparateCompilationTest.java151 Interface iface = new Interface(cc.getName());
154 iface.addSuperType(supertype);
156 type = iface;
/openjdk10/jdk/test/java/lang/reflect/DefaultMethodMembers/
H A DFilterNotMostSpecific.java50 public void testGetMethod(Class<?> iface) { argument
52 MethodDesc[] expectedMethods = iface.getAnnotationsByType(MethodDesc.class);
57 Method m = iface.getMethod(expected.name(), expected.parameterTypes());
59 fail(failMsg(expected, m, iface));
71 public void testGetMethods(Class<?> iface) { argument
72 List<Method> foundMethods = filterObjectMethods(iface.getMethods());
73 MethodDesc[] expectedMethods = iface.getAnnotationsByType(MethodDesc.class);
84 fail("On: "+ iface +"\nDid not find " + toMethodString(expected) +
88 "\non: " + iface +
114 private String failMsg(MethodDesc expected, Method m, Class<?> iface) { argument
[all...]
/openjdk10/jdk/test/java/sql/modules/mystubdriver/com/luckydogtennis/
H A DStubConnection.java307 public <T> T unwrap(Class<T> iface) throws SQLException { argument
312 public boolean isWrapperFor(Class<?> iface) throws SQLException { argument
/openjdk10/jdk/test/java/sql/modules/luckydogdriver/luckydogtennis/
H A DStubConnection.java307 public <T> T unwrap(Class<T> iface) throws SQLException { argument
312 public boolean isWrapperFor(Class<?> iface) throws SQLException { argument

Completed in 631 milliseconds

12