The test requests NotifyFrame event from MethodEntry handler expecting that 1st MethodEntry event is generated for main thread. The fix adds a check that the thread is correct and skips event from other threads
------------- Commit messages: - JDK-8262083 Changes: https://git.openjdk.java.net/jdk/pull/3060/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3060&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8262083 Stats: 35 lines in 2 files changed: 15 ins; 11 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/3060.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3060/head:pull/3060 PR: https://git.openjdk.java.net/jdk/pull/3060