7024096: Stack trace has invalid line numbers
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Mar 10 06:31:30 PST 2011
On 03/10/2011 01:39 AM, Bruce Chapman wrote:
> Hello,
>
> I have fixed 7024096 in a local clone, no existing tests fail, and
> measured the resulting jar size increase (0.2%).
That sounds great.
>
> I still need to convert my test code supplied in the bug report to a
> jtreg style test.
To be a "jtreg style test", it should generally have a main program
which throws an exception when the test fails. Then, you simply need to
add a comment containing a few magic lines, which may be as simple as
/*
* @test
* @bug 7024096
* @summary Stack trace has invalid line numbers
* @run main TestClassName
*/
>
> Once I have done that, what is the next step toward contributing this
> to JDK7 (and 6)?
>
> I have signed SCA.
>
> I think I need access to the code review server, but
> http://cr.openjdk.java.net/ implies that access is coupled with push
> access to mercurial repositories.
>
> How do I go about either getting access, or learning an alternative
> route for casual bug fix patches?
The route for casual bug fixes is to post a patch here for review.
Someone with OpenJDK commit rights can do the commit on your behalf; the
changeset would then contain the line "Contributed-by: your-email-address"
>
> Bruce
More information about the compiler-dev
mailing list