From 6c196cf737f07a77416d4facc7a0a5262fd1708f Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Tue, 3 Oct 2023 13:21:53 +0900 Subject: [PATCH] use ClassTag instead of Manifest --- .../src/main/scala/sbt/internal/inc/classfile/Parser.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/zinc-classfile/src/main/scala/sbt/internal/inc/classfile/Parser.scala b/internal/zinc-classfile/src/main/scala/sbt/internal/inc/classfile/Parser.scala index 2cb445ff0..01744c109 100644 --- a/internal/zinc-classfile/src/main/scala/sbt/internal/inc/classfile/Parser.scala +++ b/internal/zinc-classfile/src/main/scala/sbt/internal/inc/classfile/Parser.scala @@ -212,7 +212,7 @@ private[sbt] object Parser { } } } - private def array[T: scala.reflect.Manifest](size: Int)(f: => T) = Array.tabulate(size)(_ => f) + private def array[T: scala.reflect.ClassTag](size: Int)(f: => T) = Array.tabulate(size)(_ => f) private def parseConstantPool(in: DataInputStream) = { val constantPoolSize = in.readUnsignedShort() val pool = new Array[Constant](constantPoolSize)