aboutsummaryrefslogtreecommitdiff
path: root/stage2/plugins/Dotty.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/plugins/Dotty.scala')
-rw-r--r--stage2/plugins/Dotty.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/stage2/plugins/Dotty.scala b/stage2/plugins/Dotty.scala
index c6acbcd..5700e4d 100644
--- a/stage2/plugins/Dotty.scala
+++ b/stage2/plugins/Dotty.scala
@@ -83,9 +83,10 @@ class DottyLib(
logger.lib("creating docs for source files "+args.mkString(", "))
redirectOutToErr{
runMain(
- "dotty.tools.dottydoc.DottyDoc",
+ "dotty.tools.dottydoc.api.java.Dottydoc",
args,
- dottyDependency.classLoader(classLoaderCache)
+ dottyDependency.classLoader(classLoaderCache),
+ fakeInstance = true // this is a hack as Dottydoc's main method is not static
)
}
}