matthiasblaesing commented on PR #4985:
URL: https://github.com/apache/netbeans/pull/4985#issuecomment-1324234090

   As an update: I noticed, that I tested running on OpenJDK 11, but it also 
works on JDK 17 if I patch the `GradleDistributionManager`
   
   ```diff
   diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java
   index c468f0737a1e..366b0574a8b1 100644
   --- 
a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java
   +++ 
b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java
   @@ -532,7 +532,8 @@ public final class GradleDistributionManager {
             * @return <code>true</code> if this version is supported with the 
runtime JDK.
             */
            public boolean isCompatibleWithSystemJava() {
   -            return isCompatibleWithJava(JAVA_VERSION);
   +            return true;
   +//            return isCompatibleWithJava(JAVA_VERSION);
            }
    
            /**
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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