If we're using Mac OS X 10.6 as a build platform, certain features (particularly, in Cocoa AWT) will be unavailable. For now, just make the native code throw an UnsupportedOperationException.