Re: Plugin module development with daily build on JDK9

Peter Nabbefeld <[email protected]> Mon, 13 Mar 2017 15:55:47 +0100
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <[email protected]>
Hello Martin,

(comments inlined)

Am 13.03.2017 um 09:48 schrieb Martin Balin:
> Hello Peter,
> I've tried to open, compile and debug several module projects - Java SE
> with only 1 module inside dependencies among them defined. I've used
> these projects several times in NB 9 dev builds. It works.
> Can you file a bug for it? Exception,...
>

So, if it works for You, we should probably first find out about the 
differences. Did You use the same build? Probably it has to do with the 
default JDK, did You run NB on JDK9?

BTW, I'm using Arch Linux.


> And this is a development build, still far from release and undergoing
> major update for JDK9 so it might not work and it is not guaranteed it
> will work.
>

That's why I didn't file a bug yet.

Kind regards
P.

> Regards,
> Martin
>
> On 13.3.2017 08:21, Peter Nabbefeld wrote:
>>
>> Hello,
>>
>> as the JDK9 branch has been merged into default:
>> How can I use it for module development?
>>
>> I'm running netbeans-dev-201703120002 on Java9, with the following
>> results:
>> 1. I cannot set the source level of modules to Java 9.
>> 2. I cannot open existing modules (which worked until merge)
>> 3. New modules can be created. However, dependencies don't work (which
>> is essentially the same issue as [2])
>>
>> [2] IMHO is most important, currently - sth. is broken in dependencies
>> management.
>>
>> Kind regards
>> Peter
>>
>>
>
>