crash with -Xjcov and union types
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed Oct 1 01:35:05 UTC 2014
What were you doing that required end positions, or more specifically,
how were you doing it?
Normally end positions get enabled when you start using javac API, so
I'm surprised you needed to explore other means, like -Xjcov.
That being said, I agree its worth fixing.
-- Jon
On 09/30/2014 06:17 PM, Liam Miller-Cushon wrote:
> Thanks Joel. I discovered this while using -Xjcov to force end
> positions to be collected. I realize there are better ways to do that,
> but it's probably still worth fixing.
>
> On Tue, Sep 30, 2014 at 1:38 AM, Joel Borggrén-Franck
> <joel.franck at oracle.com <mailto:joel.franck at oracle.com>> wrote:
>
> Hi Liam,
>
> On 25 Sep 2014, at 23:57, Liam Miller-Cushon <cushon at google.com
> <mailto:cushon at google.com>> wrote:
>
> > I'm seeing crashes with -Xjcov enabled while compiling code with
> union types. This seems to affect javac 7 through 9. I've attached
> a possible fix, and a jtreg test for the crash.
> >
> > Repro:
> >
>
> Thanks for the report and fix! I have filed
> https://bugs.openjdk.java.net/browse/JDK-8059453
>
> I don’t know enough about -Xjcov to review and commit your fix
> right now, but I’ll try to make this happen soon.
>
> cheers
> /Joel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140930/ab833c9a/attachment.html>
More information about the compiler-dev
mailing list