--- 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;