Changeset 12537 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
- Timestamp:
- 2017-07-30T00:22:46+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r12279 r12537 31 31 public class PlatformHookOsx implements PlatformHook, InvocationHandler { 32 32 33 private static final PlatformHookOsx ivhandler= new PlatformHookOsx();33 private static final PlatformHookOsx INVOCATION_HANDLER = new PlatformHookOsx(); 34 34 35 35 private String oSBuildNumber; … … 59 59 Class<?> preferencesHandler = findHandlerClass("PreferencesHandler"); 60 60 Object proxy = Proxy.newProxyInstance(PlatformHookOsx.class.getClassLoader(), new Class<?>[] { 61 quitHandler, aboutHandler, openFilesHandler, preferencesHandler}, ivhandler);61 quitHandler, aboutHandler, openFilesHandler, preferencesHandler}, INVOCATION_HANDLER); 62 62 Object appli = eawtApplication.getConstructor((Class[]) null).newInstance((Object[]) null); 63 63 if (Utils.getJavaVersion() >= 9) {
Note:
See TracChangeset
for help on using the changeset viewer.