sjavac always compiled?
Andreas Lundblad
andreas.lundblad at oracle.com
Wed Jun 10 09:02:19 UTC 2015
On Wed, Jun 10, 2015 at 09:06:44AM +0100, Alan Bateman wrote:
>
>
> On 10/06/2015 09:00, Erik Joelsson wrote:
> >Hello,
> >
> >Sjavac has always been compiled in the interim langtools step, the
> >configure flag only affects using it to compile the rest of the
> >java classes.
> >
> >Has a bug been created for this?
> >
> I haven't created a bug for this as I wasn't sure if this was
> something in my environment or an issue with the sjavac patch and
> some interaction with the interim javac build.
I can reproduce this by compiling that method alone using 8u31. Seems to be a javac type inference bug, because changing
Collectors.toMap
to
Collectors.<T, I, T>toMap
solves the issue. (It seems to have been fixed in 8u40.)
What's the approperiate procedure here? Should I submit a patch that adds the type arguments to avoid forcing people to update their boot jdks?
-- Andreas
More information about the build-dev
mailing list