Commit Graph

107 Commits

Author SHA1 Message Date
NathanSweet
bf1b9ecf6b Merge remote-tracking branch 'origin/master' 2015-03-26 00:35:32 +01:00
NathanSweet
b227ee9bc6 Added static method access. 2015-03-26 00:35:08 +01:00
Martin Grotzke
0514861c0b Update README for 1.10.1 release 2015-03-20 13:55:10 +01:00
Martin Grotzke
a186ec0da9 [maven-release-plugin] prepare for next development iteration 2015-03-20 13:48:37 +01:00
Martin Grotzke
4484e67785 [maven-release-plugin] prepare release reflectasm-1.10.1 2015-03-20 13:48:32 +01:00
Nathan Sweet
7c05ae999f Merge pull request #33 from HubSpot/master
Upgrade to ASM 5.0.3
2015-03-17 12:37:19 +01:00
Jonathan Haber
8795805218 Upgrade ASM, make test less flappy 2015-02-18 16:56:22 -05:00
Nathan Sweet
b0b20221cf Merge pull request #31 from mazentheamazin/master
Updated licensing to follow BSD requirements
2014-09-21 19:43:04 +02:00
Mazen K
f87a3af652 Updated licensing 2014-09-21 21:34:15 +04:00
Martin Grotzke
3a155b6a5f Add hint on shaded reflectasm and the appropriate deps snippet 2014-07-22 16:50:20 +02:00
Martin Grotzke
6c3d16c5b7 [maven-release-plugin] prepare for next development iteration 2014-07-21 18:45:23 +02:00
Martin Grotzke
71c67a5f6d [maven-release-plugin] prepare release reflectasm-1.10.0 2014-07-21 18:45:19 +02:00
Martin Grotzke
fc99577bb4 Bump version to SNAPSHOT to enable mvn release plugin 2014-07-21 18:44:28 +02:00
Martin Grotzke
3ab8ba8697 Add installation note (maven) to README, with upcoming version 2014-07-21 18:41:52 +02:00
Martin Grotzke
900abe45ce Change scm connection to use ssh instead of https 2014-07-21 18:39:14 +02:00
Martin Grotzke
55b14d2a69 Update maven-shade-plugin to the latest version 2014-07-21 18:37:49 +02:00
Martin Grotzke
d5a789a1c6 Turn reflectasm into an OSGi bundle 2014-07-21 18:36:25 +02:00
Martin Grotzke
2e131dc782 Add sonatype's oss-parent as parent pom (for publishing to sonatype) 2014-07-21 00:42:59 +02:00
Martin Grotzke
9bd94e1f28 Change groupId to com.esotericsoftware (remove 'reflectasm') 2014-07-21 00:42:05 +02:00
Martin Grotzke
8d7614ea99 Change URLs from google code to github 2014-07-21 00:41:22 +02:00
Nathan Sweet
a9477627d4 Merge pull request #29 from serverperformance/master
Fixes issue #217 in Kryo (https://github.com/EsotericSoftware/kryo/issues/217)
2014-07-17 21:19:23 +02:00
Tumi
32d4420a02 Fixes issue #217 in Kryo (https://github.com/EsotericSoftware/kryo/issues/217) 2014-07-17 16:38:36 +02:00
Nathan Sweet
fb4e9d9b7c Merge pull request #28 from based2/patch-1
update to org.ow2.asm 4.2 (12 October 2013)
2014-05-03 16:36:00 +02:00
based2
09de77752f update to org.ow2.asm 4.2 (12 October 2013)
http://asm.ow2.org/history.html
http://mvnrepository.com/artifact/org.ow2.asm/asm
2014-05-03 14:40:43 +02:00
Nathan Sweet
864eec04e5 Merge pull request #26 from dimzon/master
change language level for maven build plugin
2014-04-03 22:52:02 +02:00
dimzon@gmail.com
42a8108a96 change language level for maven build plugin 2014-04-04 00:18:37 +04:00
Nathan Sweet
2b2164dea1 Merge pull request #25 from ming13/fix-readme-formatti
Fix readme formatting
2014-03-15 01:11:55 +01:00
Artur Dryomov
086594c841 Fix readme formatting. 2014-03-14 19:50:23 +02:00
NathanSweet
99f02f7320 Added args. 2014-03-07 15:30:04 +01:00
NathanSweet
1472e95148 setAccessible helps method reflection. 2014-03-06 20:02:27 +01:00
NathanSweet
537351e3f7 Removed warning. 2014-01-26 16:36:20 +01:00
NathanSweet
e48d1b2ec0 1.09 2014-01-26 14:48:09 +01:00
NathanSweet
e1f72f3303 Formatting. 2014-01-26 14:33:19 +01:00
Nathan Sweet
d918153ffe Merge pull request #21 from serverperformance/master
Fixes in AccessClassLoader and MethodAccess
2014-01-26 05:24:44 -08:00
Tumi
69b50c657e Added regression tests
Added tests for all the expected cases of Constructor accesibility to ensure compatibility with Kryo unit tests.
2014-01-09 00:55:35 +01:00
Tumi
b96de86918 Fix regression in fix for issue #16
ConstructorAccess.get must throw RuntimeException if the no-args constructor is private.

The last commit to this class broke the Kryo unit test FieldSerializerTest.testStdInstantiatorStrategy().

Now it works
2014-01-09 00:51:45 +01:00
Tumi
526526ba01 Removed unused imports 2013-12-27 23:53:07 +01:00
Tumi
a6cccae5ee Minor Unit Test fix for JDK 1.6 execution 2013-12-27 23:51:39 +01:00
Tumi
d68e51991e Added getReturnTypes() method
Completing the reexistant getMethodNames() and getParameterTypes()
2013-12-24 15:47:23 +01:00
Tumi
2c80473aaf Fix a NullPointerException 2013-12-24 15:38:46 +01:00
Tumi
a84f49f26a Added invoke(Object, Class[], Object...) method
Added a new invoke method that ensures the proper method invocation in the accessed instance, in case of overloadings.
2013-12-24 15:27:38 +01:00
Tumi
af9620b361 Added test for MethodAccess to an interface type 2013-12-24 15:20:00 +01:00
Tumi
a8e2c96928 Add support to invoking interfaces in MethodAccess
- Use INVOKEINTERFACE instead of INVOKEVIRTUAL in case of accessed interface types.

- Also, in the method invoke(Object, String, Object...), better suppor for overloaded methods by checking the number of expected arguments.
2013-12-24 15:18:49 +01:00
Tumi
c63db34fa7 Added AccessClassLoader test case
Test the release of WeakReferences to avoid ofending PermGen liberation on GC
2013-12-23 02:17:23 +01:00
Tumi
904c1dcc84 Solved PermGen memory leak in AccessClassLoader
Solved the PermGen memory leak due to static strong references to the class loaders (and minor performance improvement avoiding call to Method.setAccessible() if unnecessary).
2013-12-23 02:15:32 +01:00
Tumi
395008a0b8 Update AccessClassLoader.java
Minor performance optimization (avoid call to SecurityManager.checkPermission() inside Method.setAccessible() if the Methos is already accesible)
2013-12-23 02:09:57 +01:00
NathanSweet
cc419d9624 Minor refactoring. 2013-12-03 13:24:31 +01:00
NathanSweet
f3ee828819 Removed "added" comments. 2013-12-03 13:22:01 +01:00
Nathan Sweet
8de97dfce6 Merge pull request #18 from gabrikid/master
FieldAccess with field types (Class<?>)
2013-12-03 04:21:03 -08:00
gabrikid
107a6284b8 Update README.md 2013-12-03 11:47:51 +00:00