Skip to content

Commit f791f91

Browse files
committed
Eliminate null pointer reference in throw.
1 parent 6048865 commit f791f91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vm/jvm/runtime/org/perl6/nqp/sixmodel/SerializationWriter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,7 @@ private SixModelObject closureToStaticCodeRef(CodeRef closure, boolean fatal) {
568568
{
569569
if (fatal)
570570
throw ExceptionHandling.dieInternal(tc,
571-
"Serialization Error: missing static code ref for closure " +
572-
((CodeRef)staticCode).name);
571+
"Serialization Error: missing static code ref for closure");
573572
else
574573
return null;
575574
}

0 commit comments

Comments
 (0)