[foreign-preview] RFR: 8280527: Move jdk.incubator.foreign to java.lang.foreign

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Jan 31 12:15:27 UTC 2022


On Mon, 31 Jan 2022 11:51:43 GMT, Ty Young <youngty1997 at gmail.com> wrote:

> But getting more back on topic, I understand Intellij is probably what
> JDK developers use for the most part, but one would think that if you
> wanted feedback on the preview that any issues with IDE support would
> have been ironed out by now. it's early and the final package name isn't
> even necessarily final, I know, which is why I'm not making too big of a
> deal about it. Just saying this is an issue in case it was missed since
> most people don't seem to use anything but Intellij.

I believe using IntelliJ with 19 and preview is similarly broken at this time (and it always is before the first IDE update _after_ the source level 19 has been in the repo). I believe these are transient issues which occur every 6 months (as IDEs have to be updated to detect the new source level).

I'd suggest perhaps to use a nightly Netbeans build, to see if the issues are being worked on (which I'm sure they are).

In other words, I don't expect this branch to be really usable in any IDE for at least another month or so (unless users are willing to work with early access IDE versions, that is - such as IntelliJ EAP).

As for the other problem you mention with IntelliJ (1) it did not stall development, (2) it was a completely different issues (use of dollar signs in names unfortunately confusing the IDE class reader). The issue you are seeing is, it seems, normal "growing pains" which trigger whenever the mainline JDK source level/classfile is bumped up one version.

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/633


More information about the panama-dev mailing list