funbee / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

remove dependency to cglib/objenesis #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Evaluate java.lang.instrument API to create mocks (proxies). As JMockit
does it (http://jmockit.dev.java.net).

That can potentially remove heavy dependencies to objenesis and cglib.

Related to issue #11

Original issue reported on code.google.com by szcze...@gmail.com on 9 May 2008 at 3:39

GoogleCodeExporter commented 9 years ago

Original comment by szcze...@gmail.com on 9 May 2008 at 3:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
java.lang.instrument API is unwieldy to use because it requires starting jre 
with an
agent.

Perhaps in future someone (or me) will invest some time in writing proxy with 
pure
ASM + objenesis

Original comment by szcze...@gmail.com on 25 Jun 2008 at 12:28

GoogleCodeExporter commented 9 years ago
Problems with cglib should end with version 1.5 because we started including 
cglib in
core (http://code.google.com/p/mockito/wiki/ReleaseNotes).

Original comment by szcze...@gmail.com on 26 Jul 2008 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by szcze...@gmail.com on 19 Apr 2009 at 7:40