lkishalmi commented on issue #7365:
URL: https://github.com/apache/netbeans/issues/7365#issuecomment-2100922053

   > My guess is that the Java version upgrade from 8 to 17 in #7257 needs 
reverting prior to release.
   > 
   > This line seems to pass `NBProjectInfoAction` into 
`ProjectConnection::action` - 
https://github.com/apache/netbeans/blob/master/extide/gradle/src/org/netbeans/modules/gradle/loaders/LegacyProjectLoader.java#L484
   > 
   > Looking at the docs of `ProjectConnection::action` the passed in class 
needs to be deserializable into the build. 
https://docs.gradle.org/current/javadoc/org/gradle/tooling/ProjectConnection.html#action-org.gradle.tooling.BuildAction-
   
   Yes, that's the issue. Revert could work.
   
   For the next release it would be better to split the `gradle` module and 
have a core that does the communication with the Gradle Tooling that can be 
kept on Java 8 for the foreseeable future.


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