Skip to content

Commit

Permalink
Scala 3.3.1-RC1 (enable TastyTest on JDK 21)
Browse files Browse the repository at this point in the history
this should work on JDK 21 now that scala/scala3#17536
has been merged
  • Loading branch information
SethTisue committed May 25, 2023
1 parent a901a60 commit b2cda90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions project/DottySupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import sbt.librarymanagement.{
* Settings to support validation of TastyUnpickler against the release of dotty with the matching TASTy version
*/
object TastySupport {
val supportedTASTyRelease = "3.3.0" // TASTy version 28.4-1
val supportedTASTyRelease = "3.3.1-RC1" // TASTy version 28.4-1
val scala3Compiler = "org.scala-lang" % "scala3-compiler_3" % supportedTASTyRelease
val scala3Library = "org.scala-lang" % "scala3-library_3" % supportedTASTyRelease

Expand All @@ -26,7 +26,7 @@ object TastySupport {
* Dotty in .travis.yml.
*/
object DottySupport {
val dottyVersion = "3.3.0"
val dottyVersion = "3.3.1-RC1"
val compileWithDotty: Boolean =
Option(System.getProperty("scala.build.compileWithDotty")).exists(_.toBoolean)
lazy val commonSettings = Seq(
Expand Down
2 changes: 0 additions & 2 deletions test/tasty/test/scala/tools/tastytest/TastyTestJUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ object TastyTestJUnit {

@setup
def init(): Unit = {
// TODO remove once Scala 3 has a fix for scala/bug#12783
assumeFalse(scala.util.Properties.isJavaAtLeast("21"))
_dottyClassLoader = Dotc.initClassloader().get
}

Expand Down

0 comments on commit b2cda90

Please sign in to comment.