Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Alex Kotchnev
hey Chris - same here, nbscala has been on my guilty pleasures list for a while. I'm not sure how much life there is left in it, but it's still fun to get back into it. I did pull some of your changes (from the nb11 branch) into my fork and removed a bunch of the implementation dependencies that we

Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Luff,Chris
Hey all, this is a plugin I have put time into in the past - the whole thing needs to be modularised to take advantage of later JDK and Scala versions. I have started but time to work on it is limited. Additionally, some of the sub-projects are a little weirdly laid down so they probably need so

Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Peter Hull
On Fri, Aug 23, 2019 at 4:41 AM Alex Kotchnev wrote: >the code needs a few classes from the compiler tree API (e.g. > com.sun.source.util - TreePath, Trees, etc). I looked around but couldn't > find what dependency to add to the project instead. It seems that those > classes are still avail

Re: Replacing dependency on tools.jar in Java 11

2019-08-22 Thread Alex Kotchnev
Geertjan, the code needs a few classes from the compiler tree API (e.g. com.sun.source.util - TreePath, Trees, etc). I looked around but couldn't find what dependency to add to the project instead. It seems that those classes are still available in newer SDKs, but the compilation fails in them.

Re: Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Geertjan Wielenga
Why specifically is tools.jar needed, any way to avoid that? I don’t think it matters much if you end up requiring JDK 8. It’s a good one. :-) Gj On Thu, 22 Aug 2019 at 04:39, Alex Kotchnev wrote: > The scala plugin that I'm trying to upgrade to Java 11 ( > https://github.com/akochnev/ak_nbsca

Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Alex Kotchnev
The scala plugin that I'm trying to upgrade to Java 11 ( https://github.com/akochnev/ak_nbscala/tree/nb11-remove-impl-deps) has a system dependency on tools.jar from the JDK. That jar was removed from the JDK (in Java 9, I think), and because of that, I can only compile the plugin with Java 8. I l