Skip to content
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

[guava incompatibility] when is the next milestone? #65

Closed
or-shachar opened this issue Feb 20, 2018 · 5 comments
Closed

[guava incompatibility] when is the next milestone? #65

or-shachar opened this issue Feb 20, 2018 · 5 comments
Assignees
Labels

Comments

@or-shachar
Copy link

The latest release(https://github.com/google/jimfs/milestone/2) pretty old and is incompatible with guava 20 even...
I saw Guava was updated several time since the last release.
462d51a

What's holding us from releasing 2.0 (https://github.com/google/jimfs/milestone/3)?

@cgdecker
Copy link
Member

What exactly is incompatible?

@swankjesse
Copy link

Jimfs requires an obsolete version of Guava that is incompatible with current releases. Running Jimfs with current versions of Guava causes Jimfs to crash hard:

java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;[Ljava/lang/Object;)V
	at com.google.common.jimfs.WatchServiceConfiguration$PollingConfig.<init>(WatchServiceConfiguration.java:66)
	at com.google.common.jimfs.WatchServiceConfiguration$PollingConfig.<init>(WatchServiceConfiguration.java:60)
	at com.google.common.jimfs.WatchServiceConfiguration.polling(WatchServiceConfiguration.java:45)
	at com.google.common.jimfs.WatchServiceConfiguration.<clinit>(WatchServiceConfiguration.java:37)
	at com.google.common.jimfs.Configuration$Builder.<init>(Configuration.java:309)
	at com.google.common.jimfs.Configuration$Builder.<init>(Configuration.java:281)
	at com.google.common.jimfs.Configuration.builder(Configuration.java:218)
	at com.google.common.jimfs.Configuration$UnixHolder.<clinit>(Configuration.java:90)
	at com.google.common.jimfs.Configuration.unix(Configuration.java:86)

@swankjesse
Copy link

Scratch that; this one is not Jimfs’ fault. I’ve got another project on my classpath (kotlin-compiler 1.2.21) and it embeds an even older version of Preconditions.class that doesn’t interop with Jimfs. Ick.

@JAremko
Copy link

JAremko commented Feb 12, 2019

Also currently used guava has a security bug

@cgdecker
Copy link
Member

cgdecker commented Jan 6, 2021

A new version (1.2) has been released.

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

No branches or pull requests

5 participants