Bug 326924 Compiler warnings in N20101003-2000
1. WARNING in /src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java (at line 334) if(workbenchWindow.PROP_COOLBAR_VISIBLE.equals(event.getProperty())) { The static field WorkbenchWindow.PROP_COOLBAR_VISIBLE should be accessed in a static way "workbenchWindow" should be replaced with "WorkbenchWindow".
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaUIEnhancer.java
new Object[] { productName });
			} catch (MissingResourceException e) {
			}
			try {
				
				String format = resourceBundle.getString("QuitAction.format"); 
				if (format != null)
					fQuitActionName = MessageFormat.format(format,
							new Object[] { productName });
			} catch (MissingResourceException e) {
			}
		}
		
		try {
			if (sel_toolbarButtonClicked_ == 0) {
				sel_toolbarButtonClicked_ = registerName("toolbarButtonClicked:"); 
				sel_preferencesMenuItemSelected_ = registerName("preferencesMenuItemSelected:"); 
				sel_aboutMenuItemSelected_ = registerName("aboutMenuItemSelected:"); 
				init();
			}
		} catch (Exception e) {
			
			
			log(e);
		}
    }
    
    private long registerName(String name) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {
    	Class clazz = OS.class;
    	Object object = invokeMethod(clazz, "sel_registerName", new Object[] {name});