Skip to content

Commit

Permalink
rm hack around cglib bug & update to version that has the fix.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=263539023
  • Loading branch information
sameb authored and netdpb committed Aug 15, 2019
1 parent 47fcfb1 commit f253439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions core/src/com/google/inject/internal/ProviderMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ static <T> ProviderMethod<T> create(
Annotation annotation) {
int modifiers = method.getModifiers();
/*if[AOP]*/
if (!skipFastClassGeneration
// Protect against a bug in cglib where static interface methods were invoked with
// invokeinterface and not invokestatic. See https://github.com/cglib/cglib/pull/153
&& instance != null) {
if (!skipFastClassGeneration) {
try {
net.sf.cglib.reflect.FastClass fc = BytecodeGen.newFastClassForMember(method);
if (fc != null) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>3.2.12</version>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit f253439

Please sign in to comment.