chibash
f7ef31ce8b
fixes Issue #271
4 лет назад
chibash
17198176b9
stops a potential leak in JarClassPath openClassfile(). Issues #222.
5 лет назад
Christian Melchior
c90af6769e
Fix merge mistake
6 лет назад
Christian Melchior
f4769c7ad7
Remove close method on ClassPath. Add unit tests for new behaviour.
6 лет назад
nickl-
62851d0af3
Source walk/Spring clean/Parameterize/Enhance et.al.
The following were applied during multiple itterations through the source.
* Parameterize raw types.
* Mark unused members.
* Annotate override and deprecated methods.
* Convert loops to enhance for loop.
* Remove redundant else statements.
* Widening collection type references.
* Optimize code for improved readability.
* Squash compiler warnings.
* Identify smells.
6 лет назад
chibash
e41e0790c0
changes ClassPool#appendSystemPath(). The new implementation appends ClassClassPath when the JVM is earlier than 9.
6 лет назад
chibash
6a3ed31976
updates the test code to run on Java 9 EA+149.
Due to the specification change of jigsaw, ClassLoader#defineClass()
cannot be invoked through reflection API. As a workaround,
--add-opens java.base/java.lang=ALL-UNNAMED
must be given to the JVM. The ant target "runtest9" adds this jvm
argument.
7 лет назад
chibash
778c463e5a
removes javassist.ModuleClassPath.
See #ClassFilesAsResources in JSR 376. We don't need to hack the module system to read a class file in java.lang.
http://openjdk.java.net/projects/jigsaw/spec/issues/
7 лет назад
chibash
fb93ae8b8f
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
7 лет назад
chibash
4ed22b0f7f
modifies a test case. Now all the test cases run successfully with Java 9 EA.
7 лет назад
chibash
74e404b122
adds ModuleClassPath.java
7 лет назад
chibash
79785b83f2
modifies ClassPool so that it can read most class files.
8 лет назад
chiba
0564d29d85
fixed JASSIST-150
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@611 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
12 лет назад
chiba
121a67e8df
added the Apache license.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@584 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
13 лет назад
chiba
749d7725ab
fixed JASSIST-142
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@581 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
13 лет назад
chiba
243bceef5a
fixed deprecated API calls
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@526 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 лет назад
chiba
0f2a4bf5d2
added the javassist.JarDirClassPath class.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@414 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
16 лет назад
chiba
a9d3c7bd1d
supported the class path wildcards.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@413 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
16 лет назад
chiba
a318d5d7d8
updated the copyright notices.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@382 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
17 лет назад
chiba
774508d17c
updated copyright notices
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@234 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 лет назад
chiba
4b2de8a77e
Change the year in the copyright notices from 2004 to 2005.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@153 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 лет назад
chiba
17ac0d8287
edited for improving runtime performance.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@88 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
3f73777f2c
modified the ClassPool framework.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@84 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
baf561d93e
renamed insertTranslator() in ClassPool to addTranslator() since
it appends a class path to the tail of the chain.
ClassClassPath has been implemented.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@79 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
f56bd9e72f
changed the stuff related to ClassPool.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@76 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
bd4705d214
updated the copyright notices.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@67 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
9c01e32431
Implemented several methods (e.g. CtClass#getURL) to support security
policies based on code source.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@59 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
1a1b9d2fec
Fixed a bug of the token analyzer (double constant).
Improved compilation speed.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@58 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
2467ddfb21
made the compiler support inner classes appearing in type names.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@56 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 лет назад
chiba
abef4b9fb6
enforced close() in a finally block.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@28 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
21 лет назад
chiba
2e9cd7421a
changed the license.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@12 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
21 лет назад
chiba
cdeddfd6fc
Changed the copyright notices and removed tab characters.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@9 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
21 лет назад
patriot1burke
069bceaf72
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@6 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
21 лет назад