Giter VIP home page Giter VIP logo

Comments (4)

lauraharker avatar lauraharker commented on July 17, 2024

Have you tried upgrading the google_bazel_common version? At the pinned commit https://github.com/google/bazel-common/blob/82a7dd0f4cd8593fdaa40d65a1fa820b14ff3493/workspace_defs.bzl it's on 31.0.1-jre.

Example: google/allocation-instrumenter@2caee14

from closure-compiler.

vaibhavbhanawat01 avatar vaibhavbhanawat01 commented on July 17, 2024

@lauraharker We tried but we are getting below error. Should we use different version of closure-compiler ?

Building libcompiler_lib_no_runtime_libs-class.jar (786 source files) and running annotation processors (AutoAnnotationProcessor, AutoOneOfProcessor, AutoValueProcessor) failed: (Exit 1): java.exe failed: error executing command external/remotejdk11_win/bin/java.exe -XX:+UseParallelOldGC -XX:-CompactStrings --patch-module=java.compiler=external/remote_java_tools_windows/java_tools/java_compiler.jar ... (remaining 15 argument(s) skipped) src\com\google\javascript\rhino\jstype\NamedType.java:336: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue validator.apply(getReferencedType()); ^ (see https://errorprone.info/bugpattern/CheckReturnValue) Did you mean to remove this line? src\com\google\javascript\rhino\jstype\NamedType.java:365: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue validator.apply(type); ^ (see https://errorprone.info/bugpattern/CheckReturnValue) Did you mean to remove this line? src\com\google\javascript\rhino\jstype\NamedType.java:409: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue validator.apply(getReferencedType()); ^ (see https://errorprone.info/bugpattern/CheckReturnValue) Did you mean to remove this line? Target //:compiler_unshaded_deploy.jar failed to build

from closure-compiler.

lauraharker avatar lauraharker commented on July 17, 2024

Yes, I'd recommend upgrading your version of Closure Compiler. The latest versions shouldn't have this issue.

from closure-compiler.

vaibhavbhanawat01 avatar vaibhavbhanawat01 commented on July 17, 2024

@lauraharker thank you.

from closure-compiler.

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.