Modify tests in OpenJDK jdk/test folder:
com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java
java/lang/management/MemoryMXBean/LowMemoryTest2.sh
java/lang/management/MemoryMXBean/MemoryManagementConcMarkSweepGC.sh
java/lang/management/MemoryMXBean/MemoryManagementParallelGC.sh
java/lang/management/MemoryMXBean/MemoryManagementSerialGC.sh
java/lang/management/MemoryMXBean/MemoryTestAllGC.sh
java/lang/management/MemoryMXBean/PendingAllGC.sh
java/lang/management/RuntimeMXBean/TestInputArgument.sh
java/lang/ref/EnqueuePollRace.java
sun/tools/jps/TestJpsClass.java
sun/tools/jps/TestJpsJar.java
sun/tools/jps/TestJpsJarRelative.java
sun/tools/jstat/jstatGcCauseOutput1.sh