changeset 13233:e8e7a00c1bff

8143256: The build is broken after JDK-8081411 Reviewed-by: omajid
author serb
date Thu, 19 Nov 2015 01:52:52 +0300
parents fa51d35102f1
children 4aec72fc4adb
files src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKIconFactory.java src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKIconFactory.java	Wed Nov 18 19:13:42 2015 +0400
+++ b/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKIconFactory.java	Thu Nov 19 01:52:52 2015 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -150,8 +150,7 @@
         }
     }
 
-    private static class DelegatingIcon extends SynthIcon implements
-                                   UIResource {
+    private static class DelegatingIcon implements UIResource, SynthIcon {
         private static final Class<?>[] PARAM_TYPES = new Class<?>[] {
             SynthContext.class, Graphics.class, int.class,
             int.class, int.class, int.class, int.class
--- a/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java	Wed Nov 18 19:13:42 2015 +0400
+++ b/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java	Thu Nov 19 01:52:52 2015 +0300
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -992,7 +992,7 @@
     /**
      * An Icon that is fetched using getStockIcon.
      */
-    private static class GTKStockIcon extends SynthIcon {
+    private static class GTKStockIcon implements SynthIcon {
         private String key;
         private int size;
         private boolean loadedLTR;