Details
-
Dependency upgrade
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Release notes:
https://github.com/google/guice/wiki/Guice510
https://github.com/google/guice/wiki/Guice501
- Java 17 support: updated asm version and fixed unsafe class defining to work with Java 17.
- Removed cglib as a core dependency. Guice now uses ASM directly to generate bytecode at runtime for invoking user code and supporting method interception
- Improved error messages
- package names in error messages are compressed to make it easier to read
- errors with the same cause are grouped and reported together
- common error now links to a wiki page on how to debug and fix the error
- additional information like parameter names are included when code are compiled with javac -parameters flag
- rich formatting like bold, color are used when errors are displayed in a supported console (can be disabled with -Dguice_colorize_error_messages=DISABLED flag)
- Removed no-aop build variant.
- Updated the Guava and ASM versions