Bikeshed-ish issue: Optional

mark.reinhold at oracle.com mark.reinhold at oracle.com
Fri Mar 11 17:48:51 UTC 2016


2016/3/2 19:42 -0800, david.lloyd at redhat.com:
> I notice that Jigsaw is making arguably excessive use of Optional. 
> Reinier Zwitzerloot [1] quoted Brian Goetz about this topic; the full 
> quote [2] is as follows:
> 
> ...

We recently removed the most confusing use, in the return type of
ModuleDescriptor.Exports::targets, which now returns a simple Set<String>
of package names rather than an Optional<Set<String>>.

What other specific uses would you suggest to remove?

- Mark


More information about the jpms-spec-experts mailing list