jdk/src/java.desktop/share/classes/sun/awt/im/ExecutableInputMethodManager.java
changeset 28093 270b6925cbc8
parent 25859 3317bb8137f4
child 30948 0a0972d3b58d
equal deleted inserted replaced
28092:a67de45e0b25 28093:270b6925cbc8
   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                     }