You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "rhobincu (via GitHub)" <gi...@apache.org> on 2023/11/15 15:12:52 UTC

[I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

rhobincu opened a new issue, #6704:
URL: https://github.com/apache/netbeans/issues/6704

   ### Apache NetBeans version
   
   Apache NetBeans 19
   
   ### What happened
   
   We have two development stations with different OSes (Ubuntu 18.04 and Linux Mint 21.2) with Netbeans 19 and JDK 21 used to compile the same software, at the same Git revision and we get the following realtime code analysis error, altough the code compiles fine (as can be seen in the screenshot):
   
   ![image](https://github.com/apache/netbeans/assets/8833880/b656a7e5-a268-40fc-88a9-d63e95891b60)
   
   We have another station, running the same Linux Mint 21.2, with Netbeans 19 and JDK 21, compiling the same Git revision of the same application which does not exhibit this error.
   
   Running "ant jar" from the command line also compiles everything without issues. 
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 19
   
   ### Operating System
   
   Linux Mint 21.1/ Ubuntu 18.04
   
   ### JDK
   
   openjdk-21-jdk
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I have tried to remove all projects and re-add them, the problem persists. I have even deleted the ${HOME}/.netbeans folder and restarted it, the problem still persists.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #6704:
URL: https://github.com/apache/netbeans/issues/6704#issuecomment-2054850183

   NB 18 never supported JDK 21 as you can see on the old download page: https://netbeans.apache.org/download/nb21/
   
   But this looks like an ant project specific issue to me.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "rhobincu (via GitHub)" <gi...@apache.org>.
rhobincu commented on issue #6704:
URL: https://github.com/apache/netbeans/issues/6704#issuecomment-2057552301

   Issue dissapeared in Netbeans 20 and 21.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #6704:
URL: https://github.com/apache/netbeans/issues/6704#issuecomment-2350198251

   @stodge as with most "XYZ does not work" report: Please provide a minimal sample, that reproduces the problem. Else noone will look at the problem.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "rhobincu (via GitHub)" <gi...@apache.org>.
rhobincu closed issue #6704: Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine
URL: https://github.com/apache/netbeans/issues/6704


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "stodge (via GitHub)" <gi...@apache.org>.
stodge commented on issue #6704:
URL: https://github.com/apache/netbeans/issues/6704#issuecomment-2340941103

   I'm seeing this in Netbeans 22 with JDK 21:
   
   Product Version: Apache NetBeans IDE 22
   Java: 21.0.3; OpenJDK 64-Bit Server VM 21.0.3+9-LTS
   Runtime: OpenJDK Runtime Environment 21.0.3+9-LTS
   System: Windows 11 version 10.0 running on amd64; UTF-8; en_CA (nb)


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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


Re: [I] Package xxx is declared in an unnamed module, but module YYY does not read it - code compiles fine [netbeans]

Posted by "rhobincu (via GitHub)" <gi...@apache.org>.
rhobincu commented on issue #6704:
URL: https://github.com/apache/netbeans/issues/6704#issuecomment-1819073353

   Update: after installing Netbeans 18 on the Linux Mint computer exhibiting the problem, it worked fine for half a day, and after doing a `git stash && git pull && git stash apply`, everything broke again.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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