Re: Shouldn't Optional be Serializable?

2013-09-27 Thread Brian Goetz
Amplifying Mike's observations: this exploration is already covered ground. The JSR-335 EG felt fairly strongly that Optional should not be on any more than needed to support the optional-return idiom only. (Someone suggested maybe even renaming it to OptionalReturn to beat users over the head

Re: Shouldn't Optional be Serializable?

2013-09-28 Thread Brian Goetz
> It sounds like this should have been named something else entirely then, > not Optional. Perhaps. But we're not going to consume infinite time (and every experience we've had so far with Optional suggests that it truly is unbounded) correcting this mistake. Anyway, I won't comment further on

Re: CFV: New jdk8 Reviewer: Staffan Larsen

2013-10-02 Thread Brian Goetz
Vote: yes Sent from my iPhone On Oct 2, 2013, at 7:13 AM, Alan Bateman wrote: > I hereby nominate Staffan Larsen to jdk8 Reviewer. > > Staffan leads the serviceability area in Oracle's JDK team and has been > contributing changes to OpenJDK since Dec 2010. He has Reviewer role on the > hsx

Re: Javadoc for default methods of an interface

2014-02-05 Thread Brian Goetz
There are some new javadoc tags to let you separate normative from non-normative, and how it applies separately to the interface vs the default implementation. They are: @implSpec -- *specification* about what the default implementation does, such as "the default implementation throws UOE".

Re: JEP 138: Autoconf-Based Build System

2012-02-21 Thread Brian Goetz
The JEP explicitly states that these would be follow-on projects, presumably to narrow the scope of this project so that it can get deployed more quickly. Once the build system has a model of the project, it will be possible generate projects configurations for popular IDEs at autoconfig time,

Re: First build-infra push to jdk8 -- try out the new build system!

2012-04-20 Thread Brian Goetz
Is there a list of "features" that can be turned on and off? With the old build, I customize it with environment variables like SKIP_FASTDEBUG_BUILD, NO_DOCS, NO_SAMPLES, and NO_DEMOS, which shaves lots of time off the build. Are there equivalent configure flags for these? On 4/12/2012 5:47

Re: CFV: New JDK8 Committer: Robert Field

2012-10-06 Thread Brian Goetz
Vote: Yes On 10/5/2012 5:21 AM, Maurizio Cimadamore wrote: I hereby nominate Robert Field to JDK8 Committer. Robert works in the Langtools team at Oracle, and has already contributed several change sets to the Lambda repository. Robert will be contributing to the integration effort aimed at po

Re: What is the type of a "method reference"?

2013-07-04 Thread Brian Goetz
(sorry for slow reply) Method references, and lambda expressions, have no intrinsic type; their type depends on their context. Their type will *always* be a functional interface, which is an interface with a single abstract method. The compiler will enforce that the arity, argument types, re

Re: CFV: New JDK8 Committer: Henry Jen

2013-07-14 Thread Brian Goetz
Vote: Yes On 7/12/2013 5:45 PM, Mike Duigou wrote: I hereby nominate Henry Jen (henryjen) to JDK8 Committer. In addition to providing important contributions to the lambdafication and streams effort Henry has shepherded a number of changesets for others through the OpenJDK process and is ably

Re: CFV: New JDK8 Committer: Roger Riggs

2013-07-30 Thread Brian Goetz
Vote: Yes On Jul 29, 2013, at 2:21 PM, Xueming Shen wrote: > I hereby nominate Roger Riggs to JDK8 Committer. > > Roger Riggs has contributed 8 patches to the JDK 8 repositories. Roger > is the co-spec lead of the JSR310 and one of the main code contributors > of jdk8 JSR310 project. > > http: