Yann Simon

Results 171 comments of Yann Simon

I could reproduce this issue with the same bytecode (release 11) deployed on a JVM 21. edit: it's very sporadic and happens only on a few instances sometimes.

> Are you somehow sharing the parser from different threads or are you 100% sure that it's only ever a single thread running a particular parser instance? There's one new...

``` def Digits = rule(oneOrMore(Digit)) // from CharPredicate.Digit def WhiteSpace = rule(quiet(zeroOrMore(WhiteSpaceChar))) val WhiteSpaceChar = CharPredicate(" \n\r\t\f") ```

We're parsing Strings. I'm trying to get more data. I can reproduce the issue only on production only on some instances. I could find some input strings where the parsing...

Some update: this issue also occurs with JVM 19 (maybe less frequently, but I cannot be sure here). -> It's not related to the JVM version.

It's an internal application. OS: ``` System information: Server Version: 20.10.18 Storage Driver: overlay2 Backing Filesystem: xfs Cgroup Driver: cgroupfs Cgroup Version: 1 Kernel Version: 5.15.0-1030-aws Operating System: Ubuntu 20.04.5...

I'll try with other release values later.

when looking at https://docs.scala-lang.org/overviews/compiler-options/index.html, the flag `release` does not seem to support JVM 20: > -release RELEASE or --release RELEASE > Compile for a specific version of the Java platform....

Thanks for the answer! > I may be wrong, but I think it's not possible to convince the type-system about the life-time of the output of the future itself, without...

Thanks for the explanation! I let you choose if you want to keep this ticket open for future work, and if you want to close it as you don't plan...