Skip to content

ExtractSemanticDB cant find output file in CommentPicklingTest on JDK 11 #9026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bishabosha opened this issue May 22, 2020 · 2 comments
Closed

Comments

@bishabosha
Copy link
Member

bishabosha commented May 22, 2020

Minimized code

on adoptopenjdk 11.0.7

> testOnly dotty.tools.dotc.core.tasty.CommentPicklingTest

Output (click arrow to expand)

Test dotty.tools.dotc.core.tasty.CommentPicklingTest.commentOnClass failed: java.nio.file.NoSuchFileException: /tmp/temp9165565774282302089/out/META-INF/semanticdb/../../../tmp/temp9165565774282302089/Src$id.scala.semanticdb, took 0.04 sec
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
    at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
    at java.nio.file.Files.newOutputStream(Files.java:219)
    at dotty.tools.dotc.semanticdb.ExtractSemanticDB$.write(ExtractSemanticDB.scala:622)
    at dotty.tools.dotc.semanticdb.ExtractSemanticDB.run(ExtractSemanticDB.scala:46)
    at dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:318)
    at scala.collection.immutable.List.map(List.scala:246)
    at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:319)
    at dotty.tools.dotc.Run.runPhases$4$$anonfun$4(Run.scala:165)
    at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:15)
    at dotty.runtime.function.JProcedure1.apply(JProcedure1.java:10)
    at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
    at dotty.tools.dotc.Run.runPhases$5(Run.scala:175)
    at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:183)
    at dotty.runtime.function.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
    at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:64)
    at dotty.tools.dotc.Run.compileUnits(Run.scala:190)
    at dotty.tools.dotc.Run.compileSources(Run.scala:127)
    at dotty.tools.dotc.Run.compile(Run.scala:110)
    at dotty.tools.dotc.Driver.doCompile(Driver.scala:38)
    at dotty.tools.dotc.Driver.process(Driver.scala:194)
...
@bishabosha
Copy link
Member Author

@bishabosha bishabosha changed the title ExtractSemanticDB cant find output file in JDK 11 test in Actions ExtractSemanticDB cant find output file in CommentPicklingTest on JDK 11 May 22, 2020
bishabosha added a commit to dotty-staging/dotty that referenced this issue May 22, 2020
smarter added a commit that referenced this issue May 23, 2020
@bishabosha
Copy link
Member Author

closed by #9027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant