8143256: The build is broken after JDK-8081411
authorserb
Thu, 19 Nov 2015 01:52:52 +0300
changeset 34408 ab286f70dd5e
parent 34407 2b40f400a30b
child 34409 65ac1c8bd205
8143256: The build is broken after JDK-8081411 Reviewed-by: omajid
jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKIconFactory.java
jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java
--- a/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKIconFactory.java	Wed Nov 18 19:13:42 2015 +0400
+++ b/jdk/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/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java	Wed Nov 18 19:13:42 2015 +0400
+++ b/jdk/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;