Re: Supportted java version

2018-06-12 Thread Xin Wang
+1 to support java8 in a new deploy branch: 2.7.x

We can use the new features of JDK, such as :lambda expression, functional
programming

Yong Zhu  于2018年6月13日周三 上午11:36写道:

> +1
>
> We are now repackaging dubbo to org.apache[1]. It's convenient to get
> compatible with custom extension and SPI in 1.8
>
> [1]
>
> https://lists.apache.org/thread.html/769b7f813a46bdbf5ad4046c1037af301dee673317c9c7545161fed3@%3Cdev.dubbo.apache.org%3E
>
> On Wed, Jun 13, 2018 at 11:25 AM, 修宇航  wrote:
>
> > +1
> > 1.8 is the latest adjective version of jdk. It makes sth easy in dubbo.
> >
> > 2018-06-13 11:18 GMT+08:00 hty...@gmail.com :
> >
> > > strong +1 for switch to java8
> > >
> > > After we switch to java8, it will be a great stuff if we can apply new
> > > language feature to dubbo project.
> > >
> > > On 2018/06/13 03:09:03, Ian Luo  wrote:
> > > > Hi All,
> > > >
> > > > Since java7 has been announced EOL long time before [1], I think we
> > > should
> > > > switch to Java 8. Once it's done, we can start to use FP, streaming
> > API,
> > > > default interface and many other new features introduced since Java
> 8,
> > > and
> > > > make the code cleaner and faster.
> > > >
> > > > But considering Dubbo is widely deployed, and some users may have not
> > > > switched to Java 8 yet, we should keep Java 7 support on branch
> 2.6.x,
> > > but
> > > > we should definitely switch the development activities on master
> branch
> > > and
> > > > fix severe bug only on branch 2.6.x.
> > > >
> > > > What do you think?
> > > >
> > > > Thanks,
> > > > -Ian.
> > > >
> > > > 1.
> https://www.infoq.com/news/2015/05/Oracle-Ends-Java-7Public-Updates
> > > >
> > > > On Wed, Mar 28, 2018 at 9:34 AM htynkn  wrote:
> > > >
> > > > > hey team,
> > > > >
> > > > >
> > > > > What's the supportted java version for dubbo now?
> > > > >
> > > > >
> > > > > In travis file, I can see it's using java7 and java8. do we have
> > > offical
> > > > > support java9 or even java10?
> > > > >
> > > > >
> > > > > Regards,
> > > > > Yunkun
> > > >
> > >
> >
>


Re: Supportted java version

2018-06-12 Thread Yong Zhu
+1

We are now repackaging dubbo to org.apache[1]. It's convenient to get
compatible with custom extension and SPI in 1.8

[1]
https://lists.apache.org/thread.html/769b7f813a46bdbf5ad4046c1037af301dee673317c9c7545161fed3@%3Cdev.dubbo.apache.org%3E

On Wed, Jun 13, 2018 at 11:25 AM, 修宇航  wrote:

> +1
> 1.8 is the latest adjective version of jdk. It makes sth easy in dubbo.
>
> 2018-06-13 11:18 GMT+08:00 hty...@gmail.com :
>
> > strong +1 for switch to java8
> >
> > After we switch to java8, it will be a great stuff if we can apply new
> > language feature to dubbo project.
> >
> > On 2018/06/13 03:09:03, Ian Luo  wrote:
> > > Hi All,
> > >
> > > Since java7 has been announced EOL long time before [1], I think we
> > should
> > > switch to Java 8. Once it's done, we can start to use FP, streaming
> API,
> > > default interface and many other new features introduced since Java 8,
> > and
> > > make the code cleaner and faster.
> > >
> > > But considering Dubbo is widely deployed, and some users may have not
> > > switched to Java 8 yet, we should keep Java 7 support on branch 2.6.x,
> > but
> > > we should definitely switch the development activities on master branch
> > and
> > > fix severe bug only on branch 2.6.x.
> > >
> > > What do you think?
> > >
> > > Thanks,
> > > -Ian.
> > >
> > > 1. https://www.infoq.com/news/2015/05/Oracle-Ends-Java-7Public-Updates
> > >
> > > On Wed, Mar 28, 2018 at 9:34 AM htynkn  wrote:
> > >
> > > > hey team,
> > > >
> > > >
> > > > What's the supportted java version for dubbo now?
> > > >
> > > >
> > > > In travis file, I can see it's using java7 and java8. do we have
> > offical
> > > > support java9 or even java10?
> > > >
> > > >
> > > > Regards,
> > > > Yunkun
> > >
> >
>


Re: Supportted java version

2018-06-12 Thread 修宇航
+1
1.8 is the latest adjective version of jdk. It makes sth easy in dubbo.

2018-06-13 11:18 GMT+08:00 hty...@gmail.com :

> strong +1 for switch to java8
>
> After we switch to java8, it will be a great stuff if we can apply new
> language feature to dubbo project.
>
> On 2018/06/13 03:09:03, Ian Luo  wrote:
> > Hi All,
> >
> > Since java7 has been announced EOL long time before [1], I think we
> should
> > switch to Java 8. Once it's done, we can start to use FP, streaming API,
> > default interface and many other new features introduced since Java 8,
> and
> > make the code cleaner and faster.
> >
> > But considering Dubbo is widely deployed, and some users may have not
> > switched to Java 8 yet, we should keep Java 7 support on branch 2.6.x,
> but
> > we should definitely switch the development activities on master branch
> and
> > fix severe bug only on branch 2.6.x.
> >
> > What do you think?
> >
> > Thanks,
> > -Ian.
> >
> > 1. https://www.infoq.com/news/2015/05/Oracle-Ends-Java-7Public-Updates
> >
> > On Wed, Mar 28, 2018 at 9:34 AM htynkn  wrote:
> >
> > > hey team,
> > >
> > >
> > > What's the supportted java version for dubbo now?
> > >
> > >
> > > In travis file, I can see it's using java7 and java8. do we have
> offical
> > > support java9 or even java10?
> > >
> > >
> > > Regards,
> > > Yunkun
> >
>


Re: Supportted java version

2018-06-12 Thread htynkn
strong +1 for switch to java8

After we switch to java8, it will be a great stuff if we can apply new language 
feature to dubbo project.

On 2018/06/13 03:09:03, Ian Luo  wrote: 
> Hi All,
> 
> Since java7 has been announced EOL long time before [1], I think we should
> switch to Java 8. Once it's done, we can start to use FP, streaming API,
> default interface and many other new features introduced since Java 8, and
> make the code cleaner and faster.
> 
> But considering Dubbo is widely deployed, and some users may have not
> switched to Java 8 yet, we should keep Java 7 support on branch 2.6.x, but
> we should definitely switch the development activities on master branch and
> fix severe bug only on branch 2.6.x.
> 
> What do you think?
> 
> Thanks,
> -Ian.
> 
> 1. https://www.infoq.com/news/2015/05/Oracle-Ends-Java-7Public-Updates
> 
> On Wed, Mar 28, 2018 at 9:34 AM htynkn  wrote:
> 
> > hey team,
> >
> >
> > What's the supportted java version for dubbo now?
> >
> >
> > In travis file, I can see it's using java7 and java8. do we have offical
> > support java9 or even java10?
> >
> >
> > Regards,
> > Yunkun
> 


Re: Supportted java version

2018-06-12 Thread Ian Luo
Hi All,

Since java7 has been announced EOL long time before [1], I think we should
switch to Java 8. Once it's done, we can start to use FP, streaming API,
default interface and many other new features introduced since Java 8, and
make the code cleaner and faster.

But considering Dubbo is widely deployed, and some users may have not
switched to Java 8 yet, we should keep Java 7 support on branch 2.6.x, but
we should definitely switch the development activities on master branch and
fix severe bug only on branch 2.6.x.

What do you think?

Thanks,
-Ian.

1. https://www.infoq.com/news/2015/05/Oracle-Ends-Java-7Public-Updates

On Wed, Mar 28, 2018 at 9:34 AM htynkn  wrote:

> hey team,
>
>
> What's the supportted java version for dubbo now?
>
>
> In travis file, I can see it's using java7 and java8. do we have offical
> support java9 or even java10?
>
>
> Regards,
> Yunkun


Re:Re: Re: Supportted java version

2018-03-28 Thread htynkn
just did a try.


we are using cobertura as coverage plugin. cobertura doesn't support java9 and 
latest version is released at 2015.
we need consider to switch to jacoco or other tool.

At 2018-03-28 14:44:31, "Huxing Zhang" <hux...@apache.org> wrote:
>On Wed, Mar 28, 2018 at 1:39 PM, htynkn <hty...@163.com> wrote:
>> I think travis supports java9 but java10 is in progress 
>> (https://github.com/travis-ci/travis-ci/issues/9368)
>>
>>
>> Actually I try java9 and java10 with unit test. All pass.
>>
>>
>> So how about open one issue for adding java 9 in travis configuration file?
>
>Great, and it will be better if you can send a pr.
>
>>
>> At 2018-03-28 10:49:47, "Huxing Zhang" <hux...@apache.org> wrote:
>>>Hi,  Welcome!
>>>
>>>Dubbo support Java6, Java7, and Java 8.
>>>
>>>We have ensured that unit test of Dubbo has passed on Java 9 from
>>>2.6.1 onwards. But I think we need to add Java 9 config on travis
>>>file.
>>>
>>>Note that complete Java 9 support depends on all the third party
>>>libraries, checking third party support for Java 9 is still something
>>>we need to work on.
>>>
>>>Java 10 support is underway.
>>>
>>>
>>>
>>>On Wed, Mar 28, 2018 at 9:34 AM, htynkn <hty...@163.com> wrote:
>>>> hey team,
>>>>
>>>>
>>>> What's the supportted java version for dubbo now?
>>>>
>>>>
>>>> In travis file, I can see it's using java7 and java8. do we have offical 
>>>> support java9 or even java10?
>>>>
>>>>
>>>> Regards,
>>>> Yunkun
>>>
>>>
>>>
>>>--
>>>Best Regards!
>>>Huxing
>
>-- 
>Best Regards!
>Huxing