fixed compatibility of the solution for useFileMappedBuffer with spring-boot