RFR(xs): 8155639: Remove STEP numbers from error reporting

Coleen Phillimore coleen.phillimore at oracle.com
Mon May 2 17:50:02 UTC 2016


I like it!  I'll sponsor it also for you.

Coleen


On 4/28/16 9:48 AM, Thomas Stüfe wrote:
> Hi,
>
> may I have reviews and a sponsor for the following small improvement?
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8155639
> webrev:
> http://cr.openjdk.java.net/~stuefe/webrevs/8155639-STEP-number-removal/webrev.00/webrev/
>
> Basically, this change proposes to get rid of the hand-coded STEP numbers
> in error reporting in favour of using the __LINE__ macro.
>
> The hand-coded step numbers are a constant source or errors, as they need
> to maintained in monotonous order and if they are not, error reporting
> steps are just quietly swallowed.
>
> Using the __LINE__ macro would be self-maintaining and thus much more
> robust.
>
> Thank you!
>
> Thomas



More information about the hotspot-runtime-dev mailing list