Skip to content

Commit f253439

Browse files
samebnetdpb
authored andcommitted
rm hack around cglib bug & update to version that has the fix.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=263539023
1 parent 47fcfb1 commit f253439

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

core/src/com/google/inject/internal/ProviderMethod.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ static <T> ProviderMethod<T> create(
6464
Annotation annotation) {
6565
int modifiers = method.getModifiers();
6666
/*if[AOP]*/
67-
if (!skipFastClassGeneration
68-
// Protect against a bug in cglib where static interface methods were invoked with
69-
// invokeinterface and not invokestatic. See https://github.com/cglib/cglib/pull/153
70-
&& instance != null) {
67+
if (!skipFastClassGeneration) {
7168
try {
7269
net.sf.cglib.reflect.FastClass fc = BytecodeGen.newFastClassForMember(method);
7370
if (fc != null) {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
159159
<dependency>
160160
<groupId>cglib</groupId>
161161
<artifactId>cglib</artifactId>
162-
<version>3.2.12</version>
162+
<version>3.3.0</version>
163163
</dependency>
164164
<dependency>
165165
<groupId>junit</groupId>

0 commit comments

Comments
 (0)