RFR: 8291360: Create entry points to expose low-level class file information [v2]
    Harold Seigel 
    hseigel at openjdk.org
       
    Tue Aug  2 14:12:46 UTC 2022
    
    
  
On Tue, 2 Aug 2022 06:24:10 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Improved tests, added mulit-dimensional array tests, simplified new java.lang.Class API's
>
> src/java.base/share/classes/java/lang/Class.java line 4682:
> 
>> 4680:      */
>> 4681:     private int getClassFileVersion() {
>> 4682:         Class<?> component = isArray() ? elementType() : this;
> 
> The variable name `component` seems completely not applicable now. I would just use `c`.
Done.
-------------
PR: https://git.openjdk.org/jdk/pull/9688
    
    
More information about the hotspot-dev
mailing list