Skip to content

Commit 1db126e

Browse files
committed
Deprecate CGLIB
It's unmaintained and does not work with JDK 17. Users should use Javassist instead.
1 parent a3576e6 commit 1db126e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/java/org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141

4242
/**
4343
* @author Clinton Begin
44+
* @deprecated Since 3.5.10, use Javassist instead.
4445
*/
46+
@Deprecated
4547
public class CglibProxyFactory implements ProxyFactory {
4648

4749
private static final String FINALIZE_METHOD = "finalize";

src/main/java/org/apache/ibatis/executor/loader/cglib/CglibSerialStateHolder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525
/**
2626
* @author Eduardo Macarron
27+
* @deprecated Since 3.5.10, use Javassist instead.
2728
*/
29+
@Deprecated
2830
class CglibSerialStateHolder extends AbstractSerialStateHolder {
2931

3032
private static final long serialVersionUID = 8940388717901644661L;

0 commit comments

Comments
 (0)