Searched defs:defaultInterface (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/macosx/classes/java/net/
H A DDefaultInterface.java45 private final static NetworkInterface defaultInterface = field in class:DefaultInterface
49 return defaultInterface;
/openjdk7/langtools/test/tools/javac/ExtendsAccess/p/
H A DExtendsAccess.java43 interface defaultInterface { } interface in class:ExtendsAccess
/openjdk7/jdk/src/share/classes/java/net/
H A DNetworkInterface.java52 private static final NetworkInterface defaultInterface; field in class:NetworkInterface
53 private static final int defaultIndex; /* index of defaultInterface */
58 defaultInterface = DefaultInterface.getDefault();
59 if (defaultInterface != null) {
60 defaultIndex = defaultInterface.getIndex();
569 return defaultInterface;
/openjdk7/langtools/test/tools/javac/ExtendsAccess/
H A DExtendsAccess.java25 interface defaultInterface { } interface in class:ExtendsAccess
178 class ExtendsAccess312 extends ExtendsAccess implements defaultInterface { } // ERROR - 'defaultInterface' not in scope
183 class ExtendsAccess3221 extends ExtendsAccess implements ExtendsAccess.defaultInterface { }
191 implements p.ExtendsAccess.defaultInterface { } // ERROR - cannot access 'defaultStaticClass'
201 class N implements defaultInterface { }
214 class N implements defaultInterface { } // ERROR - cannot access 'defaultStaticClass'
227 class N implements ExtendsAccess.defaultInterface { }
243 class N implements p.ExtendsAccess.defaultInterface { } // ERROR - cannot access 'defaultClass'

Completed in 79 milliseconds