On Tue, 7 Feb 2023 15:20:15 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> Adam Sotona has updated the pull request incrementally with three additional 
>> commits since the last revision:
>> 
>>  - javadoc fixes
>>  - obsolete identifiers and unused imports cleanup
>>  - TypeAnnotation.TypePathComponent cleanup
>
> src/java.base/share/classes/jdk/internal/classfile/attribute/CharacterRangeInfo.java
>  line 146:
> 
>> 144:      * @param flags the range flags
>> 145:      */
>> 146:     static CharacterRangeInfo of(int startPc,
> 
> I get that the encoding is as per JaCoCo specification. However, I also 
> wonder if the API should provide better accessors and or factories to let 
> clients just reason about line/columns numbers. Or, maybe, provide static 
> helpers to do the encoding/decoding.

Any reference to an official specification of CharacterRangeInfo is appreciated.
Thanks.

-------------

PR: https://git.openjdk.org/jdk/pull/10982

Reply via email to