Permalink
Browse files

add jdk11 test

  • Loading branch information...
xuwei-k committed Oct 2, 2018
1 parent 5ba0847 commit 226ff68e34bff56224ecef1c18d6bee4fe4cb0a2
Showing with 6 additions and 1 deletion.
  1. +5 −0 .travis.yml
  2. +1 −1 core/jvm/src/main/scala/fs2/compress.scala
View
@@ -7,6 +7,11 @@ scala:
jdk:
- oraclejdk8
matrix:
include:
- jdk: oraclejdk11
scala: 2.12.7
sudo: required
dist: trusty
@@ -38,7 +38,7 @@ object compress {
_deflate_collect(deflater, buffer, ArrayBuffer.empty, false).toArray
Pull.output(Chunk.bytes(result)) >> _deflate_stream(deflater, buffer)(tl)
case None =>
deflater.setInput(Array.empty)
deflater.setInput(Array.empty[Byte])
deflater.finish()
val result =
_deflate_collect(deflater, buffer, ArrayBuffer.empty, true).toArray

0 comments on commit 226ff68

Please sign in to comment.