Hi Ty, Sorry, I missed this e-mail. I just tried a build from the current NetBeans master and Panama's foreign-memaccess+abi branch, using a simple Maven project. I can see the problem, but only with nb-javac installed. Given nb-javac is based on the last released JDK (i.e. JDK 16) and Panama is JDK 18, I think I'd recommend (fully) uninstalling nb-javac when working on Panama.
Jan On Sun, Jul 25, 2021 at 4:08 AM Ty Young <youngty1...@gmail.com> wrote: > Where you able to reproduce it by any chance? > > > On 7/13/21 10:18 AM, Ty Young wrote: > > You may need to build from this branch, which I use: > > > > > > https://github.com/openjdk/panama-foreign/tree/foreign-memaccess+abi > > > > > > The default branch "foreign-jextract" is based on > > foreign-memaccess+abi and is updated less often. > > > > > > This build is then used as the system JDK(AKA JAVA_HOME). The project > > is using Maven, if that matters. > > > > > > On 7/13/21 1:10 AM, Jan Lahoda wrote: > >> Hi Ty, > >> > >> Do you have more information on how to reproduce (i.e. how to setup > >> the IDE > >> and the projects to see the problem). I tried to run a (very) recent > >> build > >> on the Panama branch, and create a simple project, and I didn't see the > >> FatalError, so there is something other I need to do. > >> > >> Thanks, > >> Jan > >> > >> > >> On Sun, Jul 11, 2021 at 4:12 AM Ty Young <youngty1...@gmail.com> wrote: > >> > >>> > > >>> > >>> > >>> Hi, > >>> > >>> > >>> I use JDK 18 builds of Project Panama[1] that Netbeans does not work > >>> properly with. All classes with JDK 18 have errors with the package > >>> statement claiming that: > >>> > >>> > >>> Cannot access java.lang > >>> > >>> Fatal Error: Unable to find package java.lang in classpath or > >>> bootclasspath. > >>> > >>> > >>> This happens even on the "dev" builds of Netbeans[2]. My JavaFX > >>> application and all dependency projects compile and run fine. Code > >>> completion and import suggestions are broken, Netbeans views some > >>> imports as unused when they are being used, and symbols(classes) are > >>> marked as "cannot be found" even though they have imports. > >>> > >>> > >>> [1] https://github.com/openjdk/panama-foreign. Technically PR source > >>> here: > https://github.com/mcimadamore/panama-foreign/tree/handle_address > >>> > >>> > >>> [2] https://ci-builds.apache.org/job/Netbeans/job/netbeans-linux/ > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > >>> For additional commands, e-mail: dev-h...@netbeans.apache.org > >>> > >>> For further information about the NetBeans mailing lists, visit: > >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >>> > >>> > >>> > >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >