As part of the current Java enhancement development process adopted by the OpenJDK project, some new features under development for Java are offered in pre-release form as a preview API or as an incubating API.
For example:
If one wishes to try these new pre-release features using IntelliJ for a project driven by Maven or Gradle, what configuration to the project and/or IDE is needed?