Searched refs:getDefault (Results 1 - 25 of 367) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/windows/classes/java/net/
H A DDefaultInterface.java38 static NetworkInterface getDefault() { method in class:DefaultInterface
/openjdk7/jdk/src/solaris/classes/java/net/
H A DDefaultInterface.java38 static NetworkInterface getDefault() { method in class:DefaultInterface
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleCategory.java39 Locale.getDefault().getLanguage()))
41 Locale.getDefault().getScript()))
43 Locale.getDefault().getCountry()))
45 Locale.getDefault().getVariant())).build();
47 Locale.getDefault().getLanguage()))
49 Locale.getDefault().getScript()))
51 Locale.getDefault().getCountry()))
53 Locale.getDefault().getVariant())).build();
59 if (!base.equals(Locale.getDefault()) ||
60 !disp.equals(Locale.getDefault(Local
[all...]
H A DPrintDefaultLocale.java68 default Java locale (the locale returned by Locale.getDefault()) from the system
235 Locale.getDefault().toString(),
236 Locale.getDefault().getDisplayName(Locale.US));
238 Locale.getDefault(Locale.Category.DISPLAY).toString(),
239 Locale.getDefault(Locale.Category.DISPLAY).getDisplayName(Locale.US));
241 Locale.getDefault(Locale.Category.FORMAT).toString(),
242 Locale.getDefault(Locale.Category.FORMAT).getDisplayName(Locale.US));
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthDefaultLookup.java37 public Object getDefault(JComponent c, ComponentUI ui, String key) { method in class:SynthDefaultLookup
39 Object value = super.getDefault(c, ui, key);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPaths.java58 * getPath} method of the {@link FileSystems#getDefault default} {@link
84 return FileSystems.getDefault().getPath(first, more);
101 * {@link FileSystems#getDefault default} file system.
138 return FileSystems.getDefault().provider().getPath(uri);
/openjdk7/jdk/test/java/nio/file/spi/
H A DSetDefaultProvider.java35 Class<?> c = FileSystems.getDefault().provider().getClass();
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/
H A DLoopbackSSLSocket.java39 SSLSocketFactory sf = (SSLSocketFactory)SSLSocketFactory.getDefault();
/openjdk7/jdk/test/java/util/TimeZone/
H A DBug6912560.java44 // the next call to TimeZone.getDefault()
48 TimeZone tz = TimeZone.getDefault();
/openjdk7/jdk/test/sun/net/www/protocol/jar/jarbug/src/jar1/
H A DLoadResourceBundle.java38 bundle = ResourceBundle.getBundle("jar1/bundle", Locale.getDefault());
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DDefaultFileTypeDetector.java36 FileSystemProvider provider = FileSystems.getDefault().provider();
/openjdk7/jdk/test/sun/nio/cs/
H A DTest4206507.java35 Locale l = Locale.getDefault();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Bytecodes/src/com/sun/hotspot/igv/bytecodes/
H A DBytecodeViewTopComponent.java99 public static synchronized BytecodeViewTopComponent getDefault() { method in class:BytecodeViewTopComponent
107 * Obtain the BytecodeViewTopComponent instance. Never call {@link #getDefault} directly!
110 TopComponent win = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
112 ErrorManager.getDefault().log(ErrorManager.WARNING, "Cannot find BytecodeView component. It will not be located properly in the window system.");
113 return getDefault();
118 ErrorManager.getDefault().log(ErrorManager.WARNING, "There seem to be multiple components with the '" + PREFERRED_ID + "' ID. That is a potential source of errors and unexpected behavior.");
119 return getDefault();
155 final InputGraphProvider p = Lookup.getDefault().lookup(InputGraphProvider.class);
174 return BytecodeViewTopComponent.getDefault();
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DControlFlowTopComponent.java104 public static synchronized ControlFlowTopComponent getDefault() { method in class:ControlFlowTopComponent
112 * Obtain the ControlFlowTopComponent instance. Never call {@link #getDefault} directly!
115 TopComponent win = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
117 ErrorManager.getDefault().log(ErrorManager.WARNING, "Cannot find ControlFlow component. It will not be located properly in the window system.");
118 return getDefault();
123 ErrorManager.getDefault().log(ErrorManager.WARNING, "There seem to be multiple components with the '" + PREFERRED_ID + "' ID. That is a potential source of errors and unexpected behavior.");
124 return getDefault();
147 final InputGraphProvider p = Lookup.getDefault().lookup(InputGraphProvider.class);
181 return ControlFlowTopComponent.getDefault();
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/
H A DCheckSockFacExport2.java63 SSLSocketFactory.getDefault();
70 SSLServerSocketFactory.getDefault();
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DHttpsCreateSockTest.java129 httpsServer.setHttpsConfigurator(new HttpsConfigurator(SSLContext.getDefault()));
167 return SocketFactory.getDefault().createSocket(host, port);
174 return SocketFactory.getDefault().createSocket(address, port, localAddress, localPort);
180 return SocketFactory.getDefault().createSocket(host, port);
187 return SocketFactory.getDefault().createSocket(host, port, localHost, localPort);
195 return ((SSLSocketFactory) SSLSocketFactory.getDefault()).createSocket
201 return ((SSLSocketFactory) SSLSocketFactory.getDefault()).getDefaultCipherSuites();
206 return ((SSLSocketFactory) SSLSocketFactory.getDefault()).getSupportedCipherSuites();
/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DBug6645292.java37 Locale loc = Locale.getDefault();
38 TimeZone zone = TimeZone.getDefault();
/openjdk7/langtools/test/tools/javah/
H A DVersionTest.java35 Locale prev = Locale.getDefault();
38 System.err.println(Locale.getDefault());
/openjdk7/jdk/test/java/net/ProxySelector/
H A DB6563259.java38 ProxySelector sel = ProxySelector.getDefault();
/openjdk7/jdk/test/sun/security/smartcardio/
H A DTestDefault.java27 * @summary verify that TerminalFactory.getDefault() works
41 TerminalFactory factory = TerminalFactory.getDefault();
/openjdk7/jdk/src/share/demo/jfc/CodePointIM/
H A DCodePointIM.java56 Locale.getDefault());
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DBug4083270Test.java69 ResourceBundle bundle = ResourceBundle.getBundle(className, Locale.getDefault());
H A DBug4353454.java35 Locale l = Locale.getDefault();
/openjdk7/jdk/test/sun/security/krb5/
H A DConfPlusProp.java78 if (!config.getDefault("forwardable", "libdefaults").equals("well")) {
106 if (config.getDefault("forwardable", "libdefaults") != null) {
124 if (!config.getDefault("forwardable", "libdefaults").equals("well")) {
146 if (config.getDefault("forwardable", "libdefaults") != null) {
H A DParseConfig.java40 String expected = config.getDefault("kdc", "EXAMPLE_" + i + ".COM");

Completed in 470 milliseconds

1234567891011>>