Commit Graph

172 Commits

Author SHA1 Message Date
Nathan Sweet
cad4d75511 Skip tests that aren't supported in Java 17+. Make HasPublicConstructor constructor public. Rename/format/clean up. Eclipse encoding.
closes #89
2022-11-10 14:40:46 -04:00
Nathan Sweet
783c59ad7c
Merge pull request #85 from MarcMil/synthetic-class
Make generated FieldAccess class synthetic
2022-01-31 11:47:18 -04:00
Marc Miltenberger
2f3a4f3a15 Make generated FieldAccess class synthetic
Should prevent a JaCoCo exception when its Java Agent tries to instrument the class
java.lang.instrument.IllegalClassFormatException: Error while instrumenting foo/bar/ApplicationStackFrameValueFieldAccess
2022-01-31 16:39:17 +01:00
NathanSweet
e3a88f6362 Generate 1.6 classes (previously 1.1). 2020-01-11 19:24:28 +01:00
Martin Grotzke
c86a421c5b Update README for release 1.11.9 2019-03-18 22:15:48 +01:00
Martin Grotzke
64704eface [maven-release-plugin] prepare for next development iteration 2019-03-18 22:13:09 +01:00
Martin Grotzke
7f3e47f485 [maven-release-plugin] prepare release reflectasm-1.11.9 2019-03-18 22:12:57 +01:00
Martin Grotzke
3c97eb21c2
Merge pull request #69 from swimmesberger/fix-68
Fixes #68
2019-03-15 11:55:06 +01:00
swimmesberger
812f6bf71d
Fixes #68 2019-03-15 11:34:01 +01:00
Martin Grotzke
675ea75474 [maven-release-plugin] prepare for next development iteration 2018-12-28 23:40:44 +01:00
Martin Grotzke
7cab65bb46 [maven-release-plugin] prepare release reflectasm-1.11.8 2018-12-28 23:40:35 +01:00
Martin Grotzke
9f514e69d5
Merge pull request #66 from magro/java9-automatic-module-name
Add automatic module name to jar manifest
2018-12-28 23:39:20 +01:00
Martin Grotzke
b1a643c21c Add automatic module name to jar manifest
For motivation see https://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html
2018-12-28 23:09:31 +01:00
Nathan Sweet
065b17b26d
Merge pull request #65 from crykn/master
Allow the Object class to be used with MethodAccess#get(Class)
2018-09-10 17:06:20 +02:00
crykn
c95b57a7ec Changes the javadoc accordingly. 2018-09-10 16:46:32 +02:00
crykn
736d05a284 Allows the object class to be used with MethodAccess#get(Class). 2018-09-10 16:44:21 +02:00
NathanSweet
0a853104a5 Use Java 7 JDK. 2018-08-24 17:49:28 +02:00
NathanSweet
de91a18e95 Fixed double checked locking.
closes #62
2018-07-19 13:30:34 +02:00
NathanSweet
99cda2aa2a Try to fail less often (never?). 2018-06-16 03:35:32 +02:00
Martin Grotzke
fdd38cafd1 Update README for 1.11.7 2018-06-15 18:06:00 +02:00
Martin Grotzke
b8b618b6a1 [maven-release-plugin] prepare for next development iteration 2018-06-15 18:02:58 +02:00
Martin Grotzke
f3d8547876 [maven-release-plugin] prepare release reflectasm-1.11.7 2018-06-15 18:02:50 +02:00
NathanSweet
1bb858f625 loadAccessClass needs to be synchronized.
#52
#51
2018-06-12 12:23:44 +02:00
Martin Grotzke
383edca237 Update README for 1.11.6
Also remove the reference to the shaded jar, refs #54
2018-06-12 08:32:29 +02:00
Martin Grotzke
134750d155 [maven-release-plugin] prepare for next development iteration 2018-06-12 08:03:47 +02:00
Martin Grotzke
bffcf1040d [maven-release-plugin] prepare release reflectasm-1.11.6 2018-06-12 08:03:36 +02:00
Martin Grotzke
649db101f0 Remove oraclejdk7 from travis build since it's no longer supported 2018-06-12 08:01:23 +02:00
Martin Grotzke
69f34d94fe Fix travis badge link 2018-06-12 07:57:44 +02:00
Martin Grotzke
65ce002a25 Use shorter package name for shaded asm classes
Refs #54
2018-06-12 07:53:06 +02:00
Nathan Sweet
0130b2deb5
Merge pull request #57 from magro/shaded-jar-only
Build and publish shaded jar only
2018-06-12 00:04:26 +02:00
Nathan Sweet
95f0a9befb
Merge branch 'master' into shaded-jar-only 2018-06-12 00:03:42 +02:00
Nathan Sweet
984e6a0b8f
Merge pull request #56 from magro/travis-ci
Add travis-ci config + badge showing the build status
2018-06-11 17:26:08 +02:00
NathanSweet
da80699d0d Avoid asking parent classloader for access class that has not yet been generated, clean up.
closes #52
closes #51
2018-06-11 17:18:42 +02:00
NathanSweet
54f453484e Throw exception for invalid types.
closes #59
2017-08-17 10:26:41 +02:00
Martin Grotzke
e2d0bb99e0 Publish shaded jar only (not as separate artifact with classifier).
Motivation as described in #36

Closes #36
Closes #54
2017-07-17 00:58:01 +02:00
Martin Grotzke
e0234826c8 Revert "Repack ASM classes in esotericsoftware namespace."
This reverts commit ade0542b62.

shaded jar shall be used instead.
2017-07-17 00:50:24 +02:00
Martin Grotzke
19ea30baec Add travis-ci config + badge showing the build status 2017-07-17 00:38:43 +02:00
NathanSweet
ade0542b62 Repack ASM classes in esotericsoftware namespace.
closes #54
2017-07-16 03:30:38 +02:00
NathanSweet
5123d1d71f Merge remote-tracking branch 'origin/master' 2017-07-16 02:51:46 +02:00
NathanSweet
9e27555727 Use declaring class to access fields.
This fixes finding the wrong field when a subclass has the same field name as a super class.
2017-07-16 02:51:16 +02:00
Nathan Sweet
b6c4949a40 Merge pull request #53 from sschuberth/master
Fix license references to the 3-Clause BSD License
2017-02-28 15:53:46 +01:00
Sebastian Schuberth
27dc9dac45 Prefer "3-Clause BSD License" over "New BSD License"
"3-Clause BSD License" is the current name used at
https://opensource.org/, and it is more telling.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
2017-02-28 13:15:36 +01:00
Sebastian Schuberth
dcfb6de7c6 Fix the license link in pom.xml
"New BSD License" is the old name for the "3-Clause BSD License", while
the link was pointing to the "2-Clause BSD License".

Fixes #5.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
2017-02-28 13:15:29 +01:00
NathanSweet
ee6bb50ddb Updated version to 1.11.4. 2016-11-09 01:21:43 +01:00
NathanSweet
65f738caab Updated ASM to 5.1. 2016-11-09 01:19:36 +01:00
NathanSweet
16bad2e63f Added FieldAccess#getIndex(Field).
This can be used to avoid accessing fields by name.
2016-11-09 01:06:02 +01:00
Martin Grotzke
fba5d5ef4c Update README for 1.11.3 2016-05-09 13:59:06 +02:00
Martin Grotzke
5df0d4a857 [maven-release-plugin] prepare for next development iteration 2016-05-09 13:57:41 +02:00
Martin Grotzke
d07ff80655 [maven-release-plugin] prepare release reflectasm-1.11.3 2016-05-09 13:57:36 +02:00
Nathan Sweet
dd8ed69c1b Merge pull request #43 from magro/AccessClassLoader-loadClass
Removes sychronization of AccessClassLoader.loadClass
2016-05-09 10:36:21 +02:00