< prev index next >

src/java.desktop/share/classes/java/awt/desktop/SystemSleepEvent.java

Print this page

        

*** 32,46 **** /** * Event sent when the system enters and exits power save sleep. * * @see SystemSleepListener#systemAboutToSleep(SystemSleepEvent) * @see SystemSleepListener#systemAwoke(SystemSleepEvent) - * * @since 9 */ public final class SystemSleepEvent extends AppEvent { private static final long serialVersionUID = 11372269824930549L; /** * Constructs a {@code SystemSleepEvent}. * --- 32,48 ---- /** * Event sent when the system enters and exits power save sleep. * * @see SystemSleepListener#systemAboutToSleep(SystemSleepEvent) * @see SystemSleepListener#systemAwoke(SystemSleepEvent) * @since 9 */ public final class SystemSleepEvent extends AppEvent { + /** + * Use serialVersionUID from JDK 9 for interoperability. + */ private static final long serialVersionUID = 11372269824930549L; /** * Constructs a {@code SystemSleepEvent}. *
< prev index next >