equal
deleted
inserted
replaced
257 javaInputMethodLocatorList.clear(); |
257 javaInputMethodLocatorList.clear(); |
258 try { |
258 try { |
259 AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() { |
259 AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() { |
260 public Object run() { |
260 public Object run() { |
261 for (InputMethodDescriptor descriptor : |
261 for (InputMethodDescriptor descriptor : |
262 ServiceLoader.loadInstalled(InputMethodDescriptor.class)) { |
262 ServiceLoader.load(InputMethodDescriptor.class, |
|
263 ClassLoader.getSystemClassLoader())) { |
263 ClassLoader cl = descriptor.getClass().getClassLoader(); |
264 ClassLoader cl = descriptor.getClass().getClassLoader(); |
264 javaInputMethodLocatorList.add(new InputMethodLocator(descriptor, cl, null)); |
265 javaInputMethodLocatorList.add(new InputMethodLocator(descriptor, cl, null)); |
265 } |
266 } |
266 return null; |
267 return null; |
267 } |
268 } |