I am trying to make a test project with GraalVM based on jdk11. I have added the GraalVM JDK in the Idea's SDK list, selected it in the Project Structure, and wrote a simple test program. And I observe, Idea does not recognize and cannot find any classes from the org.graalvm.polyglot package. They're located in the Home/jmods/ directory as jmod files.
Although Idea compile and run my test app, all classes from these jmod modules are shown as "red" in the IDE, i. e. not found. I suppose, I have to add them somehow, please tell me how to do that.