Closed ygrignon-sfdc closed 8 months ago
Which version are seeing this on? Are you using one of the release branches or testing on the development branch?
This is in main. Didn't try to repro on a release branch.
Confirmed that release/2.4.x
doesn't fail so it's not an issue w/ released code
Cool, able to replicate, I'll work on solving
Ah, the test that fails is one confirming behavior on stack overflow, and rust stack frames are much smaller in release mode, so I'm guessing it ends up not actually overflowing the stack.
Before opening, please confirm:
Bug Category
Other
Describe the bug
If I build CedarJavaFFI using
cargo build
then runningCedarJava/gradlew test
completes successfully. If I build CedarJavaFFI usingcargo build -r
then runningCedarJava/gradlew test
errors out with a single test failure:Expected behavior
Running tests should succeed with both debug and release builds of CedarJavaFFI
Reproduction steps
Code Snippet
N/A
Log output
Additional configuration
openjdk version "17.0.5" 2022-10-18 LTS OpenJDK Runtime Environment Zulu17.38+22-SA (build 17.0.5+8-LTS) OpenJDK 64-Bit Server VM Zulu17.38+22-SA (build 17.0.5+8-LTS, mixed mode, sharing)
cargo 1.74.1 (ecb9851af 2023-10-18)
Operating System
MacOS
Additional information and screenshots
No response