[rhq.next] Java 8

John Sanda jsanda at redhat.com
Fri Dec 5 12:50:09 UTC 2014


> On Dec 4, 2014, at 10:31 AM, Heiko W.Rupp <hrupp at redhat.com> wrote:
> 
> 
>> Am 04.12.2014 um 15:41 schrieb John Sanda <jsanda at redhat.com>:
>> 
>> Any additional thoughts on whether or not we can use Java 8? Heiko, I was hoping you could shed some light here.
> 
> I guess there is no easy black or white answer here.
> For sure server parts can run on 8 and also use 8 apis and language features.
> 
> For agent parts that want to e.g. live inside a target resource, we need to honor what the target does
> e.g. if WildFly only supports Java7, we can not require Java8 for our part.

This is the big question. Do/will WildFly and any other target consumers support Java 8?

> 
> The other less technical aspect is that community at large does not yet really understand the implications
> of e.g. parallel streams that may end up in strange resource starvation or deadlock cases.
> 
> Having mentioned that, I am myself sort of looking forward to use lambdas :)
> 
> 
>> 
>>> On Nov 28, 2014, at 9:31 AM, Jiri Kremser <jkremser at redhat.com> wrote:
>>> 
>>> +100
>>> 
>>> btw. I found an interesting project[1] on GitHub backporting lambas to old java versions. However, it needs to run with -javaagent option. All in all just a syntactic sugar I guess. Guava might be still better for older Java versions.
>>> 
>>> [1]: https://github.com/orfjackal/retrolambda
>>> jk
>>> 
>>> 
>>> ----- Original Message -----
>>> | From: "John Sanda" <jsanda at redhat.com>
>>> | To: rhq-devel at lists.fedorahosted.org
>>> | Sent: Wednesday, November 26, 2014 3:57:13 PM
>>> | Subject: [rhq.next] Java 8
>>> | 
>>> | There was some discussion yesterday on IRC about Java 8. Since we are
>>> | starting new with the rhq.next projects, I think it is worth
>>> | asking/considering. Can/should we use Java 8? Is there anything that would
>>> | prevent us from doing so?
>>> | _______________________________________________
>>> | rhq-devel mailing list
>>> | rhq-devel at lists.fedorahosted.org
>>> | https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
>>> | 
>>> _______________________________________________
>>> rhq-devel mailing list
>>> rhq-devel at lists.fedorahosted.org
>>> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
>> 
> 
> -- 
> Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, 
> Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
> Handelsregister: Amtsgericht München HRB 153243
> Geschäftsführer: Charles Cachera, Michael Cunningham, Paul Hickey, Charlie Peters
> 



More information about the rhq-devel mailing list