Skip to content

Commit

Permalink
Keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Jul 5, 2024
1 parent 17f1bab commit c92fc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IKVM.Tools.Importer/CompilerClassLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private RuntimeJavaType GetTypeWrapperCompilerHook(string name)
{
f = new ClassFile(Context, ClassReader.Read(itemRef.GetData()), name, ClassFileParseOptions, null);
}
catch (Exception x) where (x is ClassFormatError or ByteCodeException)
catch (Exception x) when (x is ByteCodeException or ClassFormatError)
{
Context.StaticCompiler.SuppressWarning(options, Message.ClassNotFound, name);
Context.StaticCompiler.IssueMessage(options, Message.ClassFormatError, name, x.Message);
Expand Down

0 comments on commit c92fc2d

Please sign in to comment.