You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a little confused as to why this would be intentional or if I am misusing your library. The 0.22.1 pom has jazzer-api as a compile time dependency, whereas the 0.23 pom moves all of its dependencies as runtime. Therefore, when upgrading I receive the following error.
> Task :caffeine:compileTestJava/Users/ben/projects/caffeine/caffeine/src/test/java/com/github/benmanes/caffeine/fuzz/CaffeineSpecFuzzer.java:18: error: package com.code_intelligence.jazzer.api does not existimport com.code_intelligence.jazzer.api.FuzzedDataProvider; ^/Users/ben/projects/caffeine/caffeine/src/test/java/com/github/benmanes/caffeine/fuzz/CaffeineSpecFuzzer.java:31: error: cannot find symbol public void parse(FuzzedDataProvider data) { ^ symbol: class FuzzedDataProvider location: class CaffeineSpecFuzzer
A runtime dependency typically means that users should not use those classes themselves as an implementation detail. For example using the JDBC api with a runtime Postgres driver, or SLF4J with a runtime Logback provider. If an API should be used by consumers then that would be a compile time dependency. This does not seem to be the case unless my tests are an incorrect usage,
The easy workaround is to simply add the API dependency explicitly and that is fine. However the release notes do not state anything about this change if intentional, the junit example uses an outdated version, and it just looks like an accidental goof than an expected change.
The text was updated successfully, but these errors were encountered:
It looks as though 0.23 enhanced the integration to support, or at least now document (old, new), that basic types like String can be provided instead. That is a nice change, but may require the annotations that would likewise require an explicit dependency as jazzer is now runtime. All of this is to say that your releases deserve better communication.
Thanks for releasing a fix! I updated to v0.24.0 and was able to remove the extra dependency. I consider this resolved but since the PRs all state Work towards #919, please close when you consider it done.
I am a little confused as to why this would be intentional or if I am misusing your library. The 0.22.1 pom has
jazzer-api
as a compile time dependency, whereas the 0.23 pom moves all of its dependencies as runtime. Therefore, when upgrading I receive the following error.A runtime dependency typically means that users should not use those classes themselves as an implementation detail. For example using the JDBC api with a runtime Postgres driver, or SLF4J with a runtime Logback provider. If an API should be used by consumers then that would be a compile time dependency. This does not seem to be the case unless my tests are an incorrect usage,
The easy workaround is to simply add the API dependency explicitly and that is fine. However the release notes do not state anything about this change if intentional, the junit example uses an outdated version, and it just looks like an accidental goof than an expected change.
The text was updated successfully, but these errors were encountered: