src/jdk.jpackage/macosx/native/libapplauncher/MacPlatform.mm
branchJDK-8200758-branch
changeset 57099 9a85a7a076ad
parent 57064 a7fdadf67a92
child 57106 ea870b9ce89a
--- a/src/jdk.jpackage/macosx/native/libapplauncher/MacPlatform.mm	Mon Jan 07 16:43:30 2019 -0500
+++ b/src/jdk.jpackage/macosx/native/libapplauncher/MacPlatform.mm	Tue Jan 08 07:37:14 2019 -0500
@@ -83,22 +83,6 @@
     return TString(MAC_JPACKAGE_TMP_DIR);
 }
 
-void MacPlatform::reactivateAnotherInstance() {
-    if (singleInstanceProcessId == 0) {
-        printf("Unable to reactivate another instance, PID is undefined");
-        return;
-    }
-    NSRunningApplication* app =
-            [NSRunningApplication runningApplicationWithProcessIdentifier:
-            singleInstanceProcessId];
-    if (app != nil) {
-        [app activateWithOptions: NSApplicationActivateIgnoringOtherApps];
-    } else {
-        printf("Unable to reactivate another instance PID: %d",
-                singleInstanceProcessId);
-    }
-}
-
 TCHAR* MacPlatform::ConvertStringToFileSystemString(TCHAR* Source,
         bool &release) {
     TCHAR* result = NULL;