RFR: JDK-8206330: Revisit com/sun/jdi/RedefineCrossEvent.java

Alex Menkov alexey.menkov at oracle.com
Wed Oct 17 22:46:40 UTC 2018


Hi Gary,

- RedefineCrossEvent.java:

you can drop "@modules jdk.jdi" as well.
jdk.jdi is added to all test in the dir (it's specified in 
test/jdk/com/sun/jdi/TEST.properties)

about InstanceFilter test - it's strange that RedefineCrossEvent fails 
while InstanceFilter does not.
Maybe it's caused by different compiler options?
InstanceFilter.java contains:
@run compile -g InstanceFilter.java

and RedefineCrossEvent.java has:
@run build InstanceFilter

Note that all other classes in RedefineCrossEvent are compiled with "-g" 
option.

--alex

On 10/17/2018 09:46, Gary Adams wrote:
> The RedefineCrossEvent test has been on been on the ProblemList for a 
> very long time.
> In the past this test had some dependency on the Java EE modules, but 
> they  were
> deprecated for jdk9 and later removed completely in jdk11. This 
> changeset to restore
> it, removes the corba module reference and blocks the redefine operations
> for jdk.internal classes that presented an issue when the 
> RedefineCrossEvent
> test launches the InstanceFilter test.
> 
>    Issue: https://bugs.openjdk.java.net/browse/JDK-8206330
>    Webrev: http://cr.openjdk.java.net/~gadams/8206330/webrev/index.html


More information about the serviceability-dev mailing list