Fixed tests that use eName to print event name to print the class name. Plus some minor refactoring.
------------- Commit messages: - 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName Changes: https://git.openjdk.org/jdk/pull/9624/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9624&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8244976 Stats: 45 lines in 3 files changed: 10 ins; 20 del; 15 mod Patch: https://git.openjdk.org/jdk/pull/9624.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9624/head:pull/9624 PR: https://git.openjdk.org/jdk/pull/9624