[ 
https://issues.apache.org/jira/browse/IGNITE-8461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ivanov reassigned IGNITE-8461:
------------------------------------

    Assignee: Peter Ivanov

> Scala-2.10 modules compilation failure under JDK 9
> --------------------------------------------------
>
>                 Key: IGNITE-8461
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8461
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Peter Ivanov
>            Assignee: Peter Ivanov
>            Priority: Critical
>             Fix For: 2.6
>
>
> {code}
> [ERROR] error: java.lang.NoClassDefFoundError: javax/tools/ToolProvider
> [INFO]        at 
> scala.reflect.io.JavaToolsPlatformArchive.iterator(ZipArchive.scala:242)
> [INFO]        at 
> scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> [INFO]        at scala.reflect.io.AbstractFile.foreach(AbstractFile.scala:92)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.traverse(ClassPath.scala:308)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.x$16$lzycompute(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.x$16(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages$lzycompute(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:297)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:375)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:375)
> [INFO]        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> [INFO]        at 
> scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> [INFO]        at 
> scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> [INFO]        at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath.packages$lzycompute(ClassPath.scala:375)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath.packages(ClassPath.scala:370)
> [INFO]        at 
> scala.tools.nsc.symtab.SymbolLoaders$PackageLoader.doComplete(SymbolLoaders.scala:243)
> [INFO]        at 
> scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:194)
> [INFO]        at 
> scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
> [INFO]        at 
> scala.reflect.internal.Mirrors$RootsBase.init(Mirrors.scala:240)
> [INFO]        at scala.tools.nsc.Global.rootMirror$lzycompute(Global.scala:59)
> [INFO]        at scala.tools.nsc.Global.rootMirror(Global.scala:57)
> [INFO]        at scala.tools.nsc.Global.rootMirror(Global.scala:37)
> [INFO]        at 
> scala.reflect.internal.Definitions$DefinitionsClass.<init>(Definitions.scala:166)
> [INFO]        at 
> scala.reflect.internal.Definitions$definitions$.<init>(Definitions.scala:20)
> [INFO]        at 
> scala.reflect.internal.SymbolTable.definitions$lzycompute(SymbolTable.scala:13)
> [INFO]        at 
> scala.reflect.internal.SymbolTable.definitions(SymbolTable.scala:13)
> [INFO]        at scala.tools.nsc.Global$Run.<init>(Global.scala:1290)
> [INFO]        at scala.tools.nsc.Driver.doCompile(Driver.scala:32)
> [INFO]        at scala.tools.nsc.Main$.doCompile(Main.scala:79)
> [INFO]        at scala.tools.nsc.Driver.process(Driver.scala:54)
> [INFO]        at scala.tools.nsc.Driver.main(Driver.scala:67)
> [INFO]        at scala.tools.nsc.Main.main(Main.scala)
> [INFO]        at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [INFO]        at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [INFO]        at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [INFO]        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> [INFO]        at 
> scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
> [INFO]        at 
> scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> [INFO]
> [INFO] java.lang.reflect.InvocationTargetException
> [INFO]        at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [INFO]        at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [INFO]        at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [INFO]        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> [INFO]        at 
> scala_maven_executions.MainHelper.runMain(MainHelper.java:164)
> [INFO]        at 
> scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> [ERROR] Caused by: java.lang.NoClassDefFoundError: javax/tools/ToolProvider
> [INFO]        at 
> scala.reflect.io.JavaToolsPlatformArchive.iterator(ZipArchive.scala:242)
> [INFO]        at 
> scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> [INFO]        at scala.reflect.io.AbstractFile.foreach(AbstractFile.scala:92)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.traverse(ClassPath.scala:308)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.x$16$lzycompute(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.x$16(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages$lzycompute(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:317)
> [INFO]        at 
> scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:297)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:375)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:375)
> [INFO]        at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> [INFO]        at 
> scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> [INFO]        at 
> scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> [INFO]        at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath.packages$lzycompute(ClassPath.scala:375)
> [INFO]        at 
> scala.tools.nsc.util.MergedClassPath.packages(ClassPath.scala:370)
> [INFO]        at 
> scala.tools.nsc.symtab.SymbolLoaders$PackageLoader.doComplete(SymbolLoaders.scala:243)
> [INFO]        at 
> scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:194)
> [INFO]        at 
> scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1231)
> [INFO]        at 
> scala.reflect.internal.Mirrors$RootsBase.init(Mirrors.scala:240)
> [INFO]        at scala.tools.nsc.Global.rootMirror$lzycompute(Global.scala:59)
> [INFO]        at scala.tools.nsc.Global.rootMirror(Global.scala:57)
> [INFO]        at scala.tools.nsc.Global.rootMirror(Global.scala:37)
> [INFO]        at 
> scala.reflect.internal.Definitions$DefinitionsClass.<init>(Definitions.scala:166)
> [INFO]        at 
> scala.reflect.internal.Definitions$definitions$.<init>(Definitions.scala:20)
> [INFO]        at 
> scala.reflect.internal.SymbolTable.definitions$lzycompute(SymbolTable.scala:13)
> [INFO]        at 
> scala.reflect.internal.SymbolTable.definitions(SymbolTable.scala:13)
> [INFO]        at scala.tools.nsc.Global$Run.<init>(Global.scala:1290)
> [INFO]        at scala.tools.nsc.Driver.doCompile(Driver.scala:32)
> [INFO]        at scala.tools.nsc.Main$.doCompile(Main.scala:79)
> [INFO]        at scala.tools.nsc.Driver.process(Driver.scala:54)
> [INFO]        at scala.tools.nsc.Driver.main(Driver.scala:67)
> [INFO]        at scala.tools.nsc.Main.main(Main.scala)
> [INFO]        ... 6 more
> {code}
> Scala library version: 2.10.7



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to