src/share/classes/java/awt/AWTEvent.java

Print this page

        

*** 295,309 **** field = InputEvent.class. getDeclaredField("canAccessSystemClipboard"); field.setAccessible(true); return field; } catch (SecurityException e) { ! if (log.isLoggable(PlatformLogger.FINE)) { log.fine("AWTEvent.get_InputEvent_CanAccessSystemClipboard() got SecurityException ", e); } } catch (NoSuchFieldException e) { ! if (log.isLoggable(PlatformLogger.FINE)) { log.fine("AWTEvent.get_InputEvent_CanAccessSystemClipboard() got NoSuchFieldException ", e); } } return null; } --- 295,309 ---- field = InputEvent.class. getDeclaredField("canAccessSystemClipboard"); field.setAccessible(true); return field; } catch (SecurityException e) { ! if (log.isLoggable(PlatformLogger.Level.FINE)) { log.fine("AWTEvent.get_InputEvent_CanAccessSystemClipboard() got SecurityException ", e); } } catch (NoSuchFieldException e) { ! if (log.isLoggable(PlatformLogger.Level.FINE)) { log.fine("AWTEvent.get_InputEvent_CanAccessSystemClipboard() got NoSuchFieldException ", e); } } return null; }
*** 592,602 **** if (field != null) { try { boolean b = field.getBoolean(this); field.setBoolean(that, b); } catch(IllegalAccessException e) { ! if (log.isLoggable(PlatformLogger.FINE)) { log.fine("AWTEvent.copyPrivateDataInto() got IllegalAccessException ", e); } } } } --- 592,602 ---- if (field != null) { try { boolean b = field.getBoolean(this); field.setBoolean(that, b); } catch(IllegalAccessException e) { ! if (log.isLoggable(PlatformLogger.Level.FINE)) { log.fine("AWTEvent.copyPrivateDataInto() got IllegalAccessException ", e); } } } }
*** 608,618 **** Field field = get_InputEvent_CanAccessSystemClipboard(); if (field != null) { try { field.setBoolean(this, false); } catch(IllegalAccessException e) { ! if (log.isLoggable(PlatformLogger.FINE)) { log.fine("AWTEvent.dispatched() got IllegalAccessException ", e); } } } } --- 608,618 ---- Field field = get_InputEvent_CanAccessSystemClipboard(); if (field != null) { try { field.setBoolean(this, false); } catch(IllegalAccessException e) { ! if (log.isLoggable(PlatformLogger.Level.FINE)) { log.fine("AWTEvent.dispatched() got IllegalAccessException ", e); } } } }