RFR: JDK-8216261: Javap ignores default modifier on interfaces
Vicente Romero
vicente.romero at oracle.com
Wed Jun 5 12:00:08 UTC 2019
On 6/4/19 7:20 PM, Joseph D. Darcy wrote:
> Hi Vicente,
>
> Why is there a check against both the major and minor version number
> for default support?
I have just adapted the same code javac is using in [1],
Thanks,
Vicente
[1]
http://hg.openjdk.java.net/jdk/jdk/file/ce8bab2c4185/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java#l2144
>
> Thanks,
>
> -Joe
>
> On 6/4/2019 4:08 PM, Vicente Romero wrote:
>> Please review fix for [1] at [2]. This is an enhancement request
>> asking to make javap show if a method has the default modifier or not.
>>
>> Thanks,
>> Vicente
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8216261
>> [2] http://cr.openjdk.java.net/~vromero/8216261/webrev.00/
>
More information about the compiler-dev
mailing list