Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ public CompilerResult compileInProcess( String[] args, final CompilerConfigurati
{
baseMessage = diagnostic.getMessage( Locale.getDefault() );
}
catch ( AssertionError e )
catch ( Throwable e ) //ignore any possible error from jdk
{
// workaround for https://bugs.openjdk.java.net/browse/JDK-8210649
// workaround for https://bugs.openjdk.java.net/browse/JDK-8216202
getLogger().debug( "Ignore Issue get JavaCompiler Diagnostic message (see https://bugs.openjdk.java.net/browse/JDK-8210649):" + e.getMessage(), e );
// in this case we try to replace the baseMessage with toString (hoping this does not throw a new exception..
baseMessage = diagnostic.toString();
Expand Down