I’m not sure how to make it be any better than this. Although the Java 9 
classes could be removed we would just have to put them back in a couple of 
months when Java 9 is released. Putting them in a separate module is not a 
great option as that will require an additional jar to run in Java 9.

Ralph

> On May 21, 2017, at 1:14 PM, Mikael Ståldal <mik...@staldal.nu> wrote:
> 
> Same with IntelliJ IDEA. You can set JRE per module (such as log4j-api, 
> log4j-core), but not per source folder.
> 
> So this is not enough to fix it. But it is better than nothing, so please 
> keep it. And do the same for tests if/when we add any tests for the code in 
> src/main/java9.
> 
> I am now able to continue to work with the project in IntelliJ IDEA by 
> excluding src/main/java9. (But if I work with the Java 9 stuff, I only have a 
> text editor with syntax highlighting, no other IDE support for that part.)
> 
> 
> On 2017-05-21 14:50, Gary Gregory wrote:
>> I set the JRE for that project to Java 9. I do not think you can set the
>> JRE per source folder, only per project.
>> Gary
>> On May 21, 2017 1:29 AM, "Ralph Goers" <ralph.go...@dslextreme.com> wrote:
>> I’ve modified the build to put the Java 9 classes of the API into a
>> separate source directory. Can you see if that helps things in Eclipse?
>> Ralph
> 


Reply via email to