RFR (XS) 8232734 [TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt

Calvin Cheung calvin.cheung at oracle.com
Thu Oct 31 19:27:46 UTC 2019


Hi Ioi,

The removed ExtraSymbols.symbols.txt contains a zero-length symbol as 
follows:

0 -1:

Maybe the above could be added in ExtraSymbols.makeLotsExtraSymbols()?

Looks good otherwise.

thanks,

Calvin

On 10/30/19 7:33 PM, Ioi Lam wrote:
> https://bugs.openjdk.java.net/browse/JDK-8232734
> http://cr.openjdk.java.net/~iklam/jdk14/8232734-avoid-jdk-symbols-in-extra-symbols-test.v01/ 
>
>
> ExtraSymbols.symbols.txt contains symbols that were once
> extracted from the JDK. This has caused confusion when
> developers are removing APIs from the JDK, and they are not
> sure if they should also remove the corresponding symbols in
> this file.
>
> In this patch, ExtraSymbols.symbols.txt is removed altogether. Instead,
> a text file is generated at run time to cover the necessary cases.
>
> Tested with hs-tier1/2.
>
> Thanks
> - Ioi
>


More information about the hotspot-runtime-dev mailing list