Giter Club home page Giter Club logo

Comments (2)

cpovirk avatar cpovirk commented on June 17, 2024 1

Unfortunately, mixing a new version of com.google.common.graph with older versions of other Guava packages will likely lead to runtime errors, since common.graph probably relies on APIs that were added in newer Guava versions.

(There are also some additional problems that would arise if we split Guava after having released it as a full jar for all these years. And even if we'd released it as separate jars all this time, that could lead to issues, too, especially since Maven doesn't resolve version conflicts in favor of the newest version.)

Your best bet is probably to download a new Guava and have a took like Proguard or jarjar rewrite it to a new package, preserving only common.graph and its needed dependencies. (You'd likely also have it "hide" those dependencies by moving them into common.graph as package-private or by giving them an unappealing package name.) Then you could use com.yourcompany.guavagraph.

Also: If there's anything worth sharing about your difficulties with updating Guava, let us know. We know that our past habit of removing APIs was a big cause of problems until ~6 years ago, but we also know that random small problems can break things and force rollbacks. There might well not be much we can do, but let us know if you think otherwise.

from guava.

timothy-khom avatar timothy-khom commented on June 17, 2024

@cpovirk thank you for the the response and suggestions

from guava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.