This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 206d9cd  Some methods disappeared on JDK11
206d9cd is described below

commit 206d9cd64ddd63ba0204968946dc2602cd89d8cd
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Wed Jan 2 13:42:00 2019 +0100

    Some methods disappeared on JDK11
---
 .../openide.util.ui/test/unit/src/org/openide/util/UtilitiesTest.java  | 3 +--
 .../test/unit/src/org/openide/xml/XMLUtilReflectionTest.java           | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/platform/openide.util.ui/test/unit/src/org/openide/util/UtilitiesTest.java 
b/platform/openide.util.ui/test/unit/src/org/openide/util/UtilitiesTest.java
index 5d9f82d..6963024 100644
--- a/platform/openide.util.ui/test/unit/src/org/openide/util/UtilitiesTest.java
+++ b/platform/openide.util.ui/test/unit/src/org/openide/util/UtilitiesTest.java
@@ -305,7 +305,7 @@ public class UtilitiesTest extends NbTestCase {
         }
 
         public DragSourceContextPeer 
createDragSourceContextPeer(DragGestureEvent dge) throws 
InvalidDnDOperationException {
-            return Toolkit.getDefaultToolkit().createDragSourceContextPeer( 
dge );
+            throw new IllegalStateException("Method not implemented");
         }
 
         public boolean prepareImage(Image image, int width, int height, 
ImageObserver observer) {
@@ -465,7 +465,6 @@ public class UtilitiesTest extends NbTestCase {
             return new Dimension(0,0);
         }
 
-        @Override
         protected DesktopPeer createDesktopPeer(Desktop target) throws 
HeadlessException {
             throw new UnsupportedOperationException("Not supported yet.");
         }
diff --git 
a/platform/openide.util.ui/test/unit/src/org/openide/xml/XMLUtilReflectionTest.java
 
b/platform/openide.util.ui/test/unit/src/org/openide/xml/XMLUtilReflectionTest.java
index 994bbea..bf87a69 100644
--- 
a/platform/openide.util.ui/test/unit/src/org/openide/xml/XMLUtilReflectionTest.java
+++ 
b/platform/openide.util.ui/test/unit/src/org/openide/xml/XMLUtilReflectionTest.java
@@ -128,7 +128,6 @@ public class XMLUtilReflectionTest extends 
org.netbeans.junit.NbTestCase {
         }
 
         static Map<Class,Who> members = Collections.synchronizedMap(new 
HashMap<Class, Who>());
-        @Override
         public void checkMemberAccess(Class<?> clazz, int which) {
             if (clazz == null) {
                 assertMembers(which);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to