RFR: 8144146: Unified Logging tags cannot be reserved keywords

Marcus Larsson marcus.larsson at oracle.com
Mon Dec 7 15:47:06 UTC 2015


Thanks Staffan!

Marcus

On 2015-12-07 15:43, Staffan Larsen wrote:
> Looks good!
>
> Thanks,
> /Staffan
>
>> On 4 dec. 2015, at 15:46, Marcus Larsson <marcus.larsson at oracle.com> wrote:
>>
>> Hi,
>>
>> Please review the following patch to allow C++ reserved keywords to be used as UL tags. This allows usage of a 'class' tag, for example.
>>
>> Tags are now automatically prefixed with underscores by the macros. This means they will still be referred to without underscores when used, but avoid keyword conflicts.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~mlarsson/8144146/webrev.00/
>>
>> Issue:
>> https://bugs.openjdk.java.net/browse/JDK-8144146
>>
>> Testing:
>> JPRT testset hotspot
>>
>> Thanks,
>> Marcus



More information about the serviceability-dev mailing list