Closed esuomi closed 2 years ago
You see this only in Java 15, or with other jdks as well?
Was this resolved in 0.2.5? It looks like type hints have been added to the relevant bits since 0.2.4 was released?
@acgollapalli I believe it's only partially complete. Not sure if the final line mentioned still needs a type hint or not. PRs welcome if you want to tackle it.
I tested this with java 15.0.2 and saw no reflection warnings . So I believe the type hints have fixed it and #L718 doesnt need the type hint. lein test OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
lein test byte-streams-simple-check {:result true, :num-tests 10000, :seed 1620001271701, :time-elapsed-ms 1804, :test-var "equivalent-comparison"}
lein test byte-streams-test
lein test pushback-stream-test
Ran 8 tests containing 505 assertions. 0 failures, 0 errors.
Thanks, @frap . @esuomi can you confirm? If so, we can close this.
I tested with 1.8, 11, 15, and 17, with lein test
and at the REPL, and I can't replicate this.
As seen with
[byte-streams "0.2.4"]
, using Java 15:Relevant bit(s):