Re: Java 10

2018-06-11 Thread Jeff
HI all,

I'm a little late on this thread, but wanted to add that running NiFi on
Java 9+ that has been built with Java 1.8 currently works on master.  I am
working through issues getting the compilation on Java 9+ to work, mainly
through a maven profile that auto-activates if Maven detects a Java version
above 1.8.  I've made some good progress...  Most likely it will take me
the rest of the week if not longer to work through the rest of the build
problems.  It's difficult to forecast how many issues remain, but the
majority of the issues so far are due to jaxb modules that were provided by
the JRE not being available on the classpath from Java 9 and beyond.

On Thu, Jun 7, 2018 at 10:53 AM Joe Witt  wrote:

> All,
>
> There is work on-going to allow NiFi to:
>
> A) Run on Java 9, 10, and beyond.
> B) Compile on Java 9, 10, and beyond.
> C) Code leveraging Java 9, 10, and beyond capabilities.
>
> We can make things in category A happen anytime and these should be
> top priority.
> We can make things happen in category B happen and they should be
> lower priority than category A.
> We can make things in Category C be supported in the next major NiFi
> release (ie NiFi 2.x).
>
> No PR can accept Category C things until then.
>
> Thanks
> Joe
>
> On Thu, Jun 7, 2018 at 10:50 AM, Mike Thomsen 
> wrote:
> > I would say that's a safe assumption. Given the newly aggressive release
> > cadence of Java, I would also caution you to be careful because a lot of
> > the transitive dependencies might suddenly break between releases.
> >
> > On Thu, Jun 7, 2018 at 10:38 AM Jon Logan  wrote:
> >
> >> Will any PRs with Java 9 features be rejected until then? (ie.
> preserving
> >> Java-8 compatibility) Is there a plan for supporting multiple Java
> >> versions?
> >>
> >> On Thu, Jun 7, 2018 at 10:18 AM, Mike Thomsen 
> >> wrote:
> >>
> >> > Once that is done, it should run on Java 10. However, under the new
> >> Oracle
> >> > version rules Java 10 is a short term iteration. Java 11 will
> probably be
> >> > the next version officially supported by NiFi because it's supposed
> to be
> >> > Java's next LTS release.
> >> >
> >> > Java 10 features like the var key will also be rejected in PRs until
> that
> >> > point.
> >> >
> >> > On Thu, Jun 7, 2018 at 9:48 AM Otto Fowler 
> >> > wrote:
> >> >
> >> > > You can track progress here:
> >> > > https://issues.apache.org/jira/browse/NIFI-5174
> >> > > There has been some progress very recently.
> >> > >
> >> > >
> >> > >
> >> > > On June 7, 2018 at 09:40:50, Sivaprasanna (
> sivaprasanna...@gmail.com)
> >> > > wrote:
> >> > >
> >> > > Nope. Not yet. AFAIK, there is a Jira to support Java 9.
> >> > >
> >> > > On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:
> >> > >
> >> > > > does nifi support java 10 ? or even java 9 ?
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
> >> > > >
> >> > >
> >> >
> >>
>


Re: Java 10

2018-06-07 Thread Joe Witt
All,

There is work on-going to allow NiFi to:

A) Run on Java 9, 10, and beyond.
B) Compile on Java 9, 10, and beyond.
C) Code leveraging Java 9, 10, and beyond capabilities.

We can make things in category A happen anytime and these should be
top priority.
We can make things happen in category B happen and they should be
lower priority than category A.
We can make things in Category C be supported in the next major NiFi
release (ie NiFi 2.x).

No PR can accept Category C things until then.

Thanks
Joe

On Thu, Jun 7, 2018 at 10:50 AM, Mike Thomsen  wrote:
> I would say that's a safe assumption. Given the newly aggressive release
> cadence of Java, I would also caution you to be careful because a lot of
> the transitive dependencies might suddenly break between releases.
>
> On Thu, Jun 7, 2018 at 10:38 AM Jon Logan  wrote:
>
>> Will any PRs with Java 9 features be rejected until then? (ie. preserving
>> Java-8 compatibility) Is there a plan for supporting multiple Java
>> versions?
>>
>> On Thu, Jun 7, 2018 at 10:18 AM, Mike Thomsen 
>> wrote:
>>
>> > Once that is done, it should run on Java 10. However, under the new
>> Oracle
>> > version rules Java 10 is a short term iteration. Java 11 will probably be
>> > the next version officially supported by NiFi because it's supposed to be
>> > Java's next LTS release.
>> >
>> > Java 10 features like the var key will also be rejected in PRs until that
>> > point.
>> >
>> > On Thu, Jun 7, 2018 at 9:48 AM Otto Fowler 
>> > wrote:
>> >
>> > > You can track progress here:
>> > > https://issues.apache.org/jira/browse/NIFI-5174
>> > > There has been some progress very recently.
>> > >
>> > >
>> > >
>> > > On June 7, 2018 at 09:40:50, Sivaprasanna (sivaprasanna...@gmail.com)
>> > > wrote:
>> > >
>> > > Nope. Not yet. AFAIK, there is a Jira to support Java 9.
>> > >
>> > > On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:
>> > >
>> > > > does nifi support java 10 ? or even java 9 ?
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>> > > >
>> > >
>> >
>>


Re: Java 10

2018-06-07 Thread Mike Thomsen
I would say that's a safe assumption. Given the newly aggressive release
cadence of Java, I would also caution you to be careful because a lot of
the transitive dependencies might suddenly break between releases.

On Thu, Jun 7, 2018 at 10:38 AM Jon Logan  wrote:

> Will any PRs with Java 9 features be rejected until then? (ie. preserving
> Java-8 compatibility) Is there a plan for supporting multiple Java
> versions?
>
> On Thu, Jun 7, 2018 at 10:18 AM, Mike Thomsen 
> wrote:
>
> > Once that is done, it should run on Java 10. However, under the new
> Oracle
> > version rules Java 10 is a short term iteration. Java 11 will probably be
> > the next version officially supported by NiFi because it's supposed to be
> > Java's next LTS release.
> >
> > Java 10 features like the var key will also be rejected in PRs until that
> > point.
> >
> > On Thu, Jun 7, 2018 at 9:48 AM Otto Fowler 
> > wrote:
> >
> > > You can track progress here:
> > > https://issues.apache.org/jira/browse/NIFI-5174
> > > There has been some progress very recently.
> > >
> > >
> > >
> > > On June 7, 2018 at 09:40:50, Sivaprasanna (sivaprasanna...@gmail.com)
> > > wrote:
> > >
> > > Nope. Not yet. AFAIK, there is a Jira to support Java 9.
> > >
> > > On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:
> > >
> > > > does nifi support java 10 ? or even java 9 ?
> > > >
> > > >
> > > >
> > > > --
> > > > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
> > > >
> > >
> >
>


Re: Java 10

2018-06-07 Thread Jon Logan
Will any PRs with Java 9 features be rejected until then? (ie. preserving
Java-8 compatibility) Is there a plan for supporting multiple Java versions?

On Thu, Jun 7, 2018 at 10:18 AM, Mike Thomsen 
wrote:

> Once that is done, it should run on Java 10. However, under the new Oracle
> version rules Java 10 is a short term iteration. Java 11 will probably be
> the next version officially supported by NiFi because it's supposed to be
> Java's next LTS release.
>
> Java 10 features like the var key will also be rejected in PRs until that
> point.
>
> On Thu, Jun 7, 2018 at 9:48 AM Otto Fowler 
> wrote:
>
> > You can track progress here:
> > https://issues.apache.org/jira/browse/NIFI-5174
> > There has been some progress very recently.
> >
> >
> >
> > On June 7, 2018 at 09:40:50, Sivaprasanna (sivaprasanna...@gmail.com)
> > wrote:
> >
> > Nope. Not yet. AFAIK, there is a Jira to support Java 9.
> >
> > On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:
> >
> > > does nifi support java 10 ? or even java 9 ?
> > >
> > >
> > >
> > > --
> > > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
> > >
> >
>


Re: Java 10

2018-06-07 Thread Mike Thomsen
Once that is done, it should run on Java 10. However, under the new Oracle
version rules Java 10 is a short term iteration. Java 11 will probably be
the next version officially supported by NiFi because it's supposed to be
Java's next LTS release.

Java 10 features like the var key will also be rejected in PRs until that
point.

On Thu, Jun 7, 2018 at 9:48 AM Otto Fowler  wrote:

> You can track progress here:
> https://issues.apache.org/jira/browse/NIFI-5174
> There has been some progress very recently.
>
>
>
> On June 7, 2018 at 09:40:50, Sivaprasanna (sivaprasanna...@gmail.com)
> wrote:
>
> Nope. Not yet. AFAIK, there is a Jira to support Java 9.
>
> On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:
>
> > does nifi support java 10 ? or even java 9 ?
> >
> >
> >
> > --
> > Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
> >
>


Re: Java 10

2018-06-07 Thread Otto Fowler
You can track progress here: https://issues.apache.org/jira/browse/NIFI-5174
There has been some progress very recently.



On June 7, 2018 at 09:40:50, Sivaprasanna (sivaprasanna...@gmail.com) wrote:

Nope. Not yet. AFAIK, there is a Jira to support Java 9.

On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:

> does nifi support java 10 ? or even java 9 ?
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>


Re: Java 10

2018-06-07 Thread Sivaprasanna
Nope. Not yet. AFAIK, there is a Jira to support Java 9.

On Thu, Jun 7, 2018 at 7:09 PM, kirilzilla  wrote:

> does nifi support java 10 ? or even java 9 ?
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>


Re: Java 10

2018-06-07 Thread kirilzilla
does nifi support java 10 ? or even java 9 ?



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/


Java 10

2018-03-21 Thread Mike Thomsen
Looks like Oracle just dropped Java 10 on us:

http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html

Announcement for anyone interested:

http://mail.openjdk.java.net/pipermail/announce/2018-March/000247.html