--- work/org/gudy/azureus2/platform/PlatformManagerFactory.java.old 2008-08-07 18:20:05.000000000 +0200 +++ work/org/gudy/azureus2/platform/PlatformManagerFactory.java 2008-08-07 18:47:38.000000000 +0200 @@ -46,7 +46,7 @@ if ( platform_manager == null ){ try{ - if ( getPlatformType() == PlatformManager.PT_WINDOWS ){ + /*if ( getPlatformType() == PlatformManager.PT_WINDOWS ){ platform_manager = org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton(); @@ -54,15 +54,17 @@ platform_manager = org.gudy.azureus2.platform.macosx.PlatformManagerImpl.getSingleton(); - }else if( getPlatformType() == PlatformManager.PT_UNIX ){ + }else*/ + if( getPlatformType() == PlatformManager.PT_UNIX ){ platform_manager = org.gudy.azureus2.platform.unix.PlatformManagerImpl.getSingleton(); } + /* exception org.gudy.azureus2.plugins.platform.PlatformManagerException is never thrown in body of corresponding try statement }catch( PlatformManagerException e ){ // exception will already have been logged - + */ }catch( Throwable e ){ Debug.printStackTrace(e);