"[Loaded java.lang.reflect.GenericDeclaration from /home/chris/jdk1.9.0/jre/lib/rt.jar]",
"[Loaded java.lang.reflect.Type from /home/chris/jdk1.9.0/jre/lib/rt.jar]" };
Path path = writeLinesToTempFileAndReturnPath(lines);
ILogParser parser = new HotSpotLogParser(UnitTestUtil.getNoOpJITListener());
parser.processLogFile(path.toFile(), UnitTestUtil.getNoOpParseErrorListener());
SplitLog log = parser.getSplitLog();
assertEquals(45, log.getHeaderLines().size());
// <tty> not counted as it envelopes the main XML
assertEquals(1, log.getLogCompilationLines().size());
assertEquals(8, log.getClassLoaderLines().size());
assertEquals("org.adoptopenjdk.jitwatch.demo.MakeHotSpotLog", parser.getVMCommand());
}