You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by mb...@apache.org on 2023/01/04 21:07:43 UTC

[netbeans] branch master updated: Do not inherit "throws Exception" from Callable to compile on JDK8

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

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


The following commit(s) were added to refs/heads/master by this push:
     new cbbf72632d Do not inherit "throws Exception" from Callable to compile on JDK8
     new 316a3da2d2 Merge pull request #5191 from sdedic/hotfix/lsp-compilation-java8
cbbf72632d is described below

commit cbbf72632dab8654a23769ef705150dc88c5bf64
Author: Svata Dedic <sv...@oracle.com>
AuthorDate: Wed Jan 4 08:42:49 2023 +0100

    Do not inherit "throws Exception" from Callable to compile on JDK8
---
 .../cloud.oracle/src/org/netbeans/modules/cloud/oracle/OCIManager.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OCIManager.java b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OCIManager.java
index 47a9d4ba46..e307ef1632 100644
--- a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OCIManager.java
+++ b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/OCIManager.java
@@ -490,7 +490,7 @@ public final class OCIManager {
     }
     
     @FunctionalInterface
-    public interface OCIOperation<V,E extends Exception> extends Callable<V> {
+    public interface OCIOperation<V,E extends Exception> {
         /**
          * Performs the project operation, returning a value. The method may throw one
          * checked exception.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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