Hi Jack

> Adding this less-controversial point:
>
> 5. It should have been stated explicitly that Java 1.9 is not supported at 
> this time.

I am not sure why you want to have this in the release notes. This is 
completely irrelevant:

- Java 9 is not yet released, so nobody would use it in production! As we 
cannot look into the future it is not even sure that Java 9 will be ever 
released or maybe Java 10 comes earlier! :-) So we cannot make any statements 
about Java 9. But we also cannot say that it is not supported, because:
- As of current day, Lucene and Solr 6 are in fact compatible with Java 9 build 
111 as released last week. There is only a bug in the preview build, but it is 
definitely compatible otherwise. The only thing that does not work is Solr's 
Hadoop-related stuff, but that is not Solr's fault, it is just Hadoop still on 
Java 6 and not taking care of upgrading. It is a kind of wonder that it works 
with Java 7 or 8 - really :-)

Java 9 has now the module system migrated into its core and the APIs are very 
stable now:
- MMapDirectory works (it does *not fully work* with Lucene 5.5). There is 
currently a change in the internal APIs for unmapping planned, but the current 
code in Lucene 6 is able to handle that. If not, nothing breaks, because 
MMapDirectory will just be disabled by default - thanks to the new code in 
Lucene 6. Lucene 5 will break horrible with Java 9.
- Lucene and Solr's tests pass, the few bugs we see are just pre-release bugs, 
but no technical problems. It's because Java 9 is still beta, not released
- Lucene and Solr no longer require crazy permissions granted that prevent them 
from the more restricted module environment in Java 9.

I can 99% ensure, Lucene 6+ will work with Java 9, once it is out. The 
remaining 1% is just there because you never know what the future brings: It 
could also happen that Lucene/Solr 5.5 or Lucene/Solr 6 won't work with Java 8 
update 90 or update 100! Who knows?

So please stop arguing.

As today's state, Lucene 6 is compatible with Java 9 build 111. PERIOD.
Uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to