Commit Graph

93 Commits

Author SHA1 Message Date
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
gabrikid
030273bacf Update FieldAccess.java 2013-12-03 11:44:39 +00:00
gabrikid
a02113269c Update FieldAccess.java 2013-11-29 19:30:42 +00:00
gabrikid
4a0d80f993 Delete testfile.txt 2013-11-29 19:23:06 +00:00
gabrikid
93dcc8e810 Create testfile.txt 2013-11-28 17:23:42 +00:00
NathanSweet
e4a82b56ad Merge branch 'master' of http://github.com/EsotericSoftware/reflectasm 2013-11-12 23:16:21 +01:00
NathanSweet
0138ec7075 1.08 2013-11-12 23:16:05 +01:00
Nathan Sweet
cb27e7559a Update README.md 2013-11-12 22:04:05 +01:00
Nathan Sweet
cd3a0f3f19 Update README.md 2013-11-12 22:00:35 +01:00
Nathan Sweet
e1fb536d2f Update README.md 2013-11-12 21:59:00 +01:00
Nathan Sweet
85a0bd56c3 Update README.md 2013-11-12 21:58:48 +01:00
Nathan Sweet
4a6831a599 Create README.md 2013-11-12 21:55:53 +01:00
NathanSweet
edfb9f36a7 Added gitignore 2013-11-11 10:38:11 +01:00
Nathan Sweet
900b4aab70 Fixed issue #16, package private constructor access. 2013-11-01 16:15:35 +00:00
Nathan Sweet
39f9f3d853 Uses system loader if loader is null. 2013-06-20 15:15:39 +00:00