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
Nathan Sweet
4feff420a7
Issue 14
2013-04-18 09:07:17 +00:00
Nathan Sweet
3841c03c99
Fixed classes not have protected domain.
2013-03-25 10:13:36 +00:00
Nathan Sweet
db3e7d7c78
Added AccessClassLoader#remove.
2013-02-05 15:42:36 +00:00
Nathan Sweet
20a2ea96fb
Shaded maven stuff.
2012-06-19 08:38:11 +00:00
Nathan Sweet
d2ea0c7ef5
1.07
2012-06-19 06:52:46 +00:00
Nathan Sweet
ef70ad89dc
Updated synchronization to avoid defining the same class twice.
...
Fixed issue 8, constructor access for inner classes.
2012-06-19 00:28:37 +00:00
Nathan Sweet
9ede9fd513
Bumping to 1.06 because Maven sucks...
2012-06-18 12:05:40 +00:00
Nathan Sweet
3c602cfd36
Reverted ConstructorAccess changes for now, they broke a Kryo test.
2012-06-18 11:55:24 +00:00
Nathan Sweet
60d4e16918
v1.05
2012-06-18 11:32:44 +00:00
Nathan Sweet
14bbe83269
Fixed issue 9, hand calculated MAXS. Thanks serverperformance!
2012-06-15 22:49:12 +00:00
Nathan Sweet
03e957db94
Fixed issue 10
2012-06-14 05:21:09 +00:00
Nathan Sweet
45eff6c4f4
Fixed issue 8, support for inner classes.
2012-06-14 05:20:00 +00:00
Nathan Sweet
4049c757c4
Added oneJAR to build.
2012-06-13 11:46:04 +00:00
Nathan Sweet
2492037363
v1.04
2012-06-13 11:43:42 +00:00
Nathan Sweet
a4eb6dce48
Fixed issue 4, added primitive setters and getters to FieldAccess. Muchas gracias serverperformance!
2012-06-13 11:42:46 +00:00
Nathan Sweet
feb316ccd0
Fixed issue 6, AccessClassLoader not tracking instances properly, not synchronized.
2012-06-13 11:07:24 +00:00
Nathan Sweet
4ef6cb7b08
Fixed issue 7.
2012-06-13 11:04:21 +00:00