While using +LogCompilation tool with Graal, there is a org.xml.sax.SAXParseException because Graal emits unparseable XML with too much use of single-quote to wrap embedded object details as shown below. AFAICT so far C2 does not do this so it was never handled in the LogCompilation app code.
<failure reason='Code installation failed: dependencies failed
Failed dependency of type call_site_target_value
object = a 'jdk/nashorn/internal/runtime/linker/LinkerCallSite'{0x00000005df235660}
object = a 'java/lang/invoke/BoundMethodHandle$Species_LLLL'{0x00000005df235680}
witness = jdk.nashorn.internal.runtime.linker.LinkerCallSite
'/>
Element type "failure" must be followed by either attribute specifications, ">" or "/>". at line 279406, column 17
org.xml.sax.SAXParseException; lineNumber: 279406; columnNumber: 17; Element type "failure" must be followed by either attribute specifications, ">" or "/>".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1394)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1324)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:654)
at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:632)