Fix line number remapping not copying all class files. Fixes a runtime crash.
This commit is contained in:
parent
9d9be1b842
commit
2a040d03d7
1 changed files with 2 additions and 2 deletions
|
@ -126,12 +126,12 @@ public class LineNumberRemapper {
|
|||
|
||||
reader.accept(new LineNumberVisitor(Constants.ASM_VERSION, writer, lineMap.get(idx)), 0);
|
||||
Files.write(dst, writer.toByteArray());
|
||||
return FileVisitResult.CONTINUE;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Files.copy(file, dst, StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
|
||||
Files.copy(file, dst, StandardCopyOption.REPLACE_EXISTING);
|
||||
return FileVisitResult.CONTINUE;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue