You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Readme.html 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. <html>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
  4. <TITLE>Read Me First</TITLE>
  5. </HEAD>
  6. <body>
  7. <h1>Javassist version 3</h1>
  8. <h3>Copyright (C) 1999-2006 by Shigeru Chiba, All rights reserved.</h3>
  9. <p><br></p>
  10. <p>Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
  11. simple. It is a class library for editing bytecodes in Java;
  12. it enables Java programs to define a new class at runtime and to
  13. modify a class file when the JVM loads it. Unlike other similar
  14. bytecode editors, Javassist provides two levels of API: source level
  15. and bytecode level. If the users use the source-level API, they can
  16. edit a class file without knowledge of the specifications of the Java
  17. bytecode. The whole API is designed with only the vocabulary of the
  18. Java language. You can even specify inserted bytecode in the form of
  19. source text; Javassist compiles it on the fly. On the other hand, the
  20. bytecode-level API allows the users to directly edit a class file as
  21. other editors.
  22. <p><br>
  23. <h2>Files</h2>
  24. <ul>
  25. <table>
  26. <tr>
  27. <td><li><tt><a href="License.html">License.html</a></tt></td>
  28. <td>License file
  29. (Also see the <a href="#copyright">copyright notices</a> below)</td>
  30. </tr>
  31. <tr>
  32. <td><li><tt><a href="tutorial/tutorial.html">tutorial/tutorial.html</a></tt></td>
  33. <td>Tutorial</td>
  34. </tr>
  35. <tr>
  36. <td><li><tt>./javassist.jar</tt></td>
  37. <td>The Javassist jar file (class files)</td>
  38. </tr>
  39. <tr>
  40. <td><li><tt>./src/main</tt></td>
  41. <td>The source files</td>
  42. </tr>
  43. <tr>
  44. <td><li><tt><a href="html/index.html">html/index.html</a></tt></td>
  45. <td>The top page of the Javassist API document.</td>
  46. </tr>
  47. <tr>
  48. <td><li><tt>./sample/</tt></td>
  49. <td>Sample programs</td>
  50. </tr>
  51. </table>
  52. </ul>
  53. <p><br>
  54. <h2>How to run sample programs</h2>
  55. <p>JDK 1.3 or later is needed.
  56. <h3>0. If you have Apache Ant</h3>
  57. <p>Run the sample-all task.
  58. Otherwise, follow the instructions below.
  59. <h3>1. Move to the directory where this Readme.html file is located.</h3>
  60. <p>In the following instructions, we assume that the javassist.jar
  61. file is included in the class path.
  62. For example, the javac and java commands must receive
  63. the following <code>classpath</code> option:
  64. <ul><pre>
  65. -classpath ".:javassist.jar"
  66. </pre></ul>
  67. <p>If the operating system is Windows, the path
  68. separator must be not <code>:</code> (colon) but
  69. <code>;</code> (semicolon). The java command can receive
  70. the <code>-cp</code> option
  71. as well as <code>-classpath</code>.
  72. <p>If you don't want to use the class-path option, you can make
  73. <code>javassist.jar</code> included in the <code>CLASSPATH</code>
  74. environment:
  75. <ul><pre>
  76. export CLASSPATH=.:javassist.jar
  77. </pre></ul>
  78. <p>or if the operating system is Windows:
  79. <ul><pre>
  80. set CLASSPATH=.;javassist.jar
  81. </pre></ul>
  82. <p>Otherwise, you can copy <tt>javassist.jar</tt> to the directory
  83. <ul>&lt;<i>java-home</i>&gt;<tt>/jre/lib/ext</tt>.</ul>
  84. <p>&lt;<i>java-home</i>&gt; depends on the system. It is usually
  85. <tt>/usr/local/java</tt>, <tt>c:\j2sdk1.4\</tt>, etc.
  86. <h3>2. sample/Test.java</h3>
  87. <p> This is a very simple program using Javassist.
  88. <p> To run, type the commands:
  89. <ul><pre>
  90. % javac sample/Test.java
  91. % java sample.Test
  92. </pre></ul>
  93. <p> For more details, see <a type="text/plain" href="sample/Test.java">sample/Test.java</a>
  94. <h3>3. sample/reflect/*.java</h3>
  95. <p> This is the "verbose metaobject" example well known in reflective
  96. programming. This program dynamically attaches a metaobject to
  97. a Person object. The metaobject prints a message if a method
  98. is called on the Person object.
  99. <p> To run, type the commands:
  100. <ul><pre>
  101. % javac sample/reflect/*.java
  102. % java javassist.tools.reflect.Loader sample.reflect.Main Joe
  103. </pre></ul>
  104. <p>Compare this result with that of the regular execution without reflection:
  105. <ul><pre>% java sample.reflect.Person Joe</pre></ul>
  106. <p> For more details, see <a type="text/plain" href="sample/reflect/Main.java">sample/reflect/Main.java</a>
  107. <p> Furthermore, the Person class can be statically modified so that
  108. all the Person objects become reflective without sample.reflect.Main.
  109. To do this, type the commands:
  110. <ul><pre>
  111. % java javassist.tools.reflect.Compiler sample.reflect.Person -m sample.reflect.VerboseMetaobj
  112. </pre></ul>
  113. <p> Then,
  114. <ul><pre>
  115. % java sample.reflect.Person Joe
  116. </pre></ul>
  117. <h3>4. sample/duplicate/*.java</h3>
  118. <p> This is another example of reflective programming.
  119. <p> To run, type the commands:
  120. <ul><pre>
  121. % javac sample/duplicate/*.java
  122. % java sample.duplicate.Main
  123. </pre></ul>
  124. <p>Compare this result with that of the regular execution without reflection:
  125. <ul><pre>% java sample.duplicate.Viewer</pre></ul>
  126. <p>For more details, see
  127. <a type="text/plain" href="sample/duplicate/Main.java">sample/duplicate/Main.java</a>
  128. <h3>5. sample/vector/*.java</h3>
  129. <p>This example shows the use of Javassit for producing a class representing
  130. a vector of a given type at compile time.
  131. <p> To run, type the commands:
  132. <ul><pre>
  133. % javac sample/vector/*.java
  134. % java sample.preproc.Compiler sample/vector/Test.j
  135. % javac sample/vector/Test.java
  136. % java sample.vector.Test
  137. </pre></ul>
  138. <p>Note: <code>javassist.jar</code> is unnecessary to compile and execute
  139. <code>sample/vector/Test.java</code>.
  140. For more details, see
  141. <a type="text/plain" href="sample/vector/Test.j">sample/vector/Test.j</a>
  142. and <a type="text/plain" href="sample/vector/VectorAssistant.java">sample/vector/VectorAssistant.java</a>
  143. <h3>6. sample/rmi/*.java</h3>
  144. <p> This demonstrates the javassist.rmi package.
  145. <p> To run, type the commands:
  146. <ul><pre>
  147. % javac sample/rmi/*.java
  148. % java sample.rmi.Counter 5001
  149. </pre></ul>
  150. <p> The second line starts a web server listening to port 5001.
  151. <p> Then, open <a href="sample/rmi/webdemo.html">sample/rmi/webdemo.html</a>
  152. with a web browser running
  153. on the local host. (<tt>webdemo.html</tt> trys to fetch an applet from
  154. <tt>http://localhost:5001/</tt>, which is the web server we started above.)
  155. <p> Otherwise, run sample.rmi.CountApplet as an application:
  156. <ul><pre>
  157. % java javassist.web.Viewer localhost 5001 sample.rmi.CountApplet
  158. </pre></ul>
  159. <h3>7. sample/evolve/*.java</h3>
  160. <p> This is a demonstration of the class evolution mechanism implemented
  161. with Javassist. This mechanism enables a Java program to reload an
  162. existing class file under some restriction.
  163. <p> To run, type the commands:
  164. <ul><pre>
  165. % javac sample/evolve/*.java
  166. % java sample.evolve.DemoLoader 5003
  167. </pre></ul>
  168. <p> The second line starts a class loader DemoLoader, which runs a web
  169. server DemoServer listening to port 5003.
  170. <p> Then, open <a href="http://localhost:5003/demo.html">http://localhost:5003/demo.html</a> with a web browser running
  171. on the local host.
  172. (Or, see <a href="sample/evolve/start.html">sample/evolve/start.html</a>.)
  173. <h3>8. sample/hotswap/*.java</h3>
  174. <p>This shows dynamic class reloading by the JPDA.
  175. To run, first type the following commands:
  176. <ul><pre>
  177. % cd sample/hotswap
  178. % javac *.java
  179. % cd logging
  180. % javac *.java
  181. % cd ..
  182. </pre></ul>
  183. <p>If your Java is 1.4, then type:
  184. <ul><pre>
  185. % java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 Test
  186. </pre></ul>
  187. <p>If you are using Java 5, then type:
  188. <ul><pre>
  189. % java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 Test
  190. </pre></ul>
  191. <p>Note that the class path must include <code>JAVA_HOME/lib/tools.jar</code>.
  192. <h2>Hints</h2>
  193. <p>To know the version number, type this command:
  194. <ul><pre>
  195. % java -jar javassist.jar
  196. </pre></ul>
  197. <p>Javassist provides a class file viewer for debugging. For more details,
  198. see javassist.Dump.
  199. <p><br>
  200. <h2>Changes</h2>
  201. <p>- version 3.1 on February 23, 2006
  202. <ul>
  203. <li>getFields(), getMethods(), and getConstructors() in CtClass
  204. were changed to return non-private memebers instead of only
  205. public members.
  206. <li>getEnclosingClass() in javassist.CtClass was renamed
  207. to getEnclosingMethod().
  208. <li>getModifiers() was extended to return Modifier.STATIC if the class
  209. is a static inner class.
  210. <li>The return type of CtClass.stopPruning() was changed from void
  211. to boolean.
  212. <li>toMethod() in javassist.CtConstructor has been implemented.
  213. <li>It includes new javassist.util.proxy package
  214. similar to Enhancer of CGLIB.
  215. <p>
  216. <li>The subpackages of Javassist were restructured.
  217. <ul>
  218. <li>javassist.tool package was renamed to javassist.tools.
  219. <li>HotSwapper was moved to javassist.util.
  220. <li>Several subpackages were moved to javassist.tools.
  221. <li>javassist.preproc package was elminated and the source was
  222. moved to the sample directory.
  223. </ul>
  224. </ul>
  225. <p>- version 3.1 RC2 on September 7, 2005
  226. <ul>
  227. <li>RC2 is released mainly for an administrative reason.
  228. <li>A few bugs have been fixed.
  229. </ul>
  230. <p>- version 3.1 RC1 on August 29, 2005
  231. <ul>
  232. <li>Better annotation supports. See <code>CtClass.getAnnotations()</code>
  233. <li>javassist.tool.HotSwapper was added.
  234. <li>javassist.ClassPool.importPackage() was added.
  235. <li>The compiler now accepts array initializers
  236. (only one dimensional arrays).
  237. <li>javassist.Dump was moved to javassist.tool.Dump.
  238. <li>Many bugs were fixed.
  239. </ul>
  240. <p>- version 3.0 on January 18, 2005
  241. <ul>
  242. <li>The compiler now supports synchronized statements and finally
  243. clauses.
  244. <li>You can now remove a method and a field.
  245. </ul>
  246. <p>- version 3.0 RC1 on September 13, 2004.
  247. <ul>
  248. <li>CtClass.toClass() has been reimplemented. The behavior has been
  249. changed.
  250. <li>javassist.expr.NewArray has been implemented. It enables modifying
  251. an expression for array creation.
  252. <li><code>.class</code> notation has been supported. The modified class
  253. file needs javassist.runtime.DotClass at runtime.
  254. <li>a bug in <code>CtClass.getMethods()</code> has been fixed.
  255. <li>The compiler supports a switch statement.
  256. </ul>
  257. <p>- version 3.0 beta on May 18th, 2004.
  258. <ul>
  259. <li>The ClassPool framework has been redesigned.
  260. <ul>
  261. <li>writeFile(), write(), ... in ClassPool have been moved to CtClass.
  262. <li>The design of javassist.Translator has been changed.
  263. </ul>
  264. <li>javassist.bytecode.annotation has been added for meta tags.
  265. <li>CtClass.makeNestedClass() has been added.
  266. <li>The methods declared in javassist.bytecode.InnerClassesAttribute
  267. have been renamed a bit.
  268. <li>Now local variables were made available in the source text passed to
  269. CtBehavior.insertBefore(), MethodCall.replace(), etc.
  270. <li>CtClass.main(), which prints the version number, has been added.
  271. <li>ClassPool.SimpleLoader has been public.
  272. <li>javassist.bytecode.DeprecatedAttribute has been added.
  273. <li>javassist.bytecode.LocalVariableAttribute has been added.
  274. <li>CtClass.getURL() and javassist.ClassPath.find() has been added.
  275. <li>CtBehavior.insertAt() has been added.
  276. <li>CtClass.detach() has been added.
  277. <li>CodeAttribute.computeMaxStack() has been added.
  278. </ul>
  279. <p>- version 2.6 in August, 2003.
  280. <ul>
  281. <li>The behavior of CtClass.setSuperclass() was changed.
  282. To obtain the previous behavior, call CtClass.replaceClassName().
  283. <li>CtConstructor.setBody() now works for class initializers.
  284. <li>CtNewMethod.delegator() now works for static methods.
  285. <li>javassist.expr.Expr.indexOfBytecode() has been added.
  286. <li>javassist.Loader has been modified so that getPackage() returns
  287. a package object.
  288. <li>Now, the compiler can correctly compile a try statement and an
  289. infinite while-loop.
  290. </ul>
  291. <p>- version 2.5.1 in May, 2003.
  292. <br>Simple changes for integration with JBoss AOP
  293. <ul>
  294. <li>Made ClassPool.get0 protected so that subclasses of ClassPool can call it.
  295. <li>Moved all access to the class cache (the field ClassPool.classes) to a method called getCached(String classname). This is so subclasses of ClassPool can override this behavior.
  296. </ul>
  297. <p>- version 2.5 in May, 2003.
  298. <br>From this version, Javassist is part of the JBoss project.
  299. <ul>
  300. <li>The license was changed from MPL to MPL/LGPL dual.
  301. <li>ClassPool.removeClassPath() and ClassPath.close() have been added.
  302. <li>ClassPool.makeClass(InputStream) has been added.
  303. <li>CtClass.makeClassInitializer() has been added.
  304. <li>javassist.expr.Expr has been changed to a public class.
  305. <li>javassist.expr.Handler has been added.
  306. <li>javassist.expr.MethodCall.isSuper() has been added.
  307. <li>CtMethod.isEmpty() and CtConstructor.isEmpty() have been added.
  308. <li>LoaderClassPath has been implemented.
  309. </ul>
  310. <p>- version 2.4 in February, 2003.
  311. <ul>
  312. <li>The compiler included in Javassist did not correctly work with
  313. interface methods. This bug was fixed.
  314. <li>Now javassist.bytecode.Bytecode allows more than 255 local
  315. variables in the same method.
  316. <li>javassist.expr.Instanceof and Cast have been added.
  317. <li>javassist.expr.{MethodCall,NewExpr,FieldAccess,Instanceof,Cast}.where()
  318. have been added. They return the caller-side method surrounding the
  319. expression.
  320. <li>javassist.expr.{MethodCall,NewExpr,FieldAccess,Instanceof,Cast}.mayThrow()
  321. have been added.
  322. <li>$class has been introduced.
  323. <li>The parameters to replaceFieldRead(), replaceFieldWrite(),
  324. and redirectFieldAccess() in javassist.CodeConverter are changed.
  325. <li>The compiler could not correctly handle a try-catch statement.
  326. This bug has been fixed.
  327. </ul>
  328. <p>- version 2.3 in December, 2002.
  329. <ul>
  330. <li>The tutorial has been revised a bit.
  331. <li>SerialVersionUID class was donated by Bob Lee. Thanks.
  332. <li>CtMethod.setBody() and CtConstructor.setBody() have been added.
  333. <li>javassist.reflect.ClassMetaobject.useContextClassLoader has been added.
  334. If true, the reflection package does not use Class.forName() but uses
  335. a context class loader specified by the user.
  336. <li>$sig and $type are now available.
  337. <li>Bugs in Bytecode.write() and read() have been fixed.
  338. </ul>
  339. <p>- version 2.2 in October, 2002.
  340. <ul>
  341. <li>The tutorial has been revised.
  342. <li>A new package <code>javassist.expr</code> has been added.
  343. This is replacement of classic <code>CodeConverter</code>.
  344. <li>javassist.ConstParameter was changed into
  345. javassist.CtMethod.ConstParameter.
  346. <li>javassist.FieldInitializer was renamed into
  347. javassist.CtField.Initializer.
  348. <li>A bug in javassist.bytecode.Bytecode.addInvokeinterface() has been
  349. fixed.
  350. <li>In javassist.bytecode.Bytecode, addGetfield(), addGetstatic(),
  351. addInvokespecial(), addInvokestatic(), addInvokevirtual(),
  352. and addInvokeinterface()
  353. have been modified to update the current statck depth.
  354. </ul>
  355. <p>- version 2.1 in July, 2002.
  356. <ul>
  357. <li>javassist.CtMember and javassist.CtBehavior have been added.
  358. <li>javassist.CtClass.toBytecode() has been added.
  359. <li>javassist.CtClass.toClass() and javassist.ClassPool.writeAsClass()
  360. has been added.
  361. <li>javassist.ByteArrayClassPath has been added.
  362. <li>javassist.bytecode.Mnemonic has been added.
  363. <li>Several bugs have been fixed.
  364. </ul>
  365. <p>- version 2.0 (major update) in November, 2001.
  366. <ul>
  367. <li>The javassist.bytecode package has been provided. It is a
  368. lower-level API for directly modifying a class file although
  369. the users must have detailed knowledge of the Java bytecode.
  370. <li>The mechanism for creating CtClass objects have been changed.
  371. <li>javassist.tool.Dump moves to the javassist package.
  372. </ul>
  373. <p>version 1.0 in July, 2001.
  374. <ul>
  375. <li>javassist.reflect.Metaobject and ClassMetaobject was changed.
  376. Now they throw the same exception that they receive from a
  377. base-level object.
  378. </ul>
  379. <p>- version 0.8
  380. <ul>
  381. <li>javassist.tool.Dump was added. It is a class file viewer.
  382. <li>javassist.FiledInitializer.byNewArray() was added. It is for
  383. initializing a field with an array object.
  384. <li>javassist.CodeConverter.redirectMethodCall() was added.
  385. <li>javassist.Run was added.
  386. </ul>
  387. <p>- version 0.7
  388. <ul>
  389. <li>javassit.Loader was largely modified. javassist.UserLoader was
  390. deleted. Instead, Codebase was renamed to ClassPath
  391. and UserClassPath was added. Now programmers who want to
  392. customize Loader must write a class implementing UserClassPath
  393. instead of UserLoader. This change is for sharing class search paths
  394. between Loader and CtClass.CtClass(String).
  395. <li>CtClass.addField(), addMethod(), addConstructor(), addWrapper() were
  396. also largely modified so that it receives CtNewMethod, CtNewConstructor,
  397. or CtNewField. The static methods for creating these objects were
  398. added to the API.
  399. <li>Constructors are now represented by CtConstructor objects.
  400. CtConstructor is a subclass of CtMethod.
  401. <li>CtClass.getUserAttribute() was removed. Use CtClass.getAttribute().
  402. <li>javassist.rmi.RmiLoader was added.
  403. <li>javassist.reflect.Metalevel._setMetaobject() was added. Now
  404. metaobjects can be replaced at runtime.
  405. </ul>
  406. <p>- version 0.6
  407. <ul>
  408. <li>Javassist was modified to correctly deal with array types appearing
  409. in signatures.
  410. <li>A bug crashed resulting bytecode if a class includes a private static
  411. filed. It has been fixed.
  412. <li>javassist.CtNewInterface was added.
  413. <li>javassist.Loader.recordClass() was renamed into makeClass().
  414. <li>javassist.UserLoader.loadClass() was changed to take the second
  415. parameter.
  416. </ul>
  417. <p>- version 0.5
  418. <ul>
  419. <li>a bug-fix version.
  420. </ul>
  421. <p>- version 0.4
  422. <ul>
  423. <li>Major update again. Many classes and methods were changed.
  424. Most of methods taking java.lang.Class have been changed to
  425. take javassist.CtClass.
  426. </ul>
  427. <p>- version 0.3
  428. <ul>
  429. <li>Major update. Many classes and methods were changed.
  430. </ul>
  431. <p>- version 0.2
  432. <ul>
  433. <li>Jar/zip files are supported.
  434. </ul>
  435. <p>-version 0.1 in April, 1999.
  436. <ul>
  437. <li>The first release.
  438. </ul>
  439. <p><br>
  440. <h2>Bug reports etc.</h2>
  441. <dl>
  442. <dt>Bug reports:
  443. <dd>Post your reports at <a href="http://www.jboss.org/jive.jsp">Forums</a>
  444. or directly send an email to:
  445. <br>&nbsp;
  446. <tt><a href="mailto:chiba@acm.org">chiba@acm.org</a></tt>
  447. or
  448. <tt><a href="mailto:chiba@is.titech.ac.jp">chiba@is.titech.ac.jp</a></tt>
  449. <br>
  450. <p><dt>The home page of Javassist:
  451. <dd>Visit <a href="http://www.javassist.org"><tt>www.javassist.org</tt></a>
  452. and <a href="http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/javassist"><tt>www.jboss.org</tt></a>
  453. </dl>
  454. <p><br>
  455. <a name="copyright">
  456. <h2>Copyright notices</h2>
  457. <p>Javassist, a Java-bytecode translator toolkit.
  458. <br>Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.
  459. <p>The contents of this software, Javassist, are subject to
  460. the Mozilla Public License Version 1.1 (the "License");<br>
  461. you may not use this software except in compliance
  462. with the License. You may obtain a copy of the License at
  463. <br>http://www.mozilla.org/MPL/
  464. <p>Software distributed under the License is distributed on an "AS IS"
  465. basis, WITHOUT WARRANTY OF <br>ANY KIND, either express or implied.
  466. See the License for the specific language governing rights and
  467. <br>limitations under the License.
  468. <p>The Original Code is Javassist.
  469. <p>The Initial Developer of the Original Code is Shigeru Chiba.
  470. Portions created by the Initial Developer are<br>&nbsp;
  471. Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.
  472. <p>Contributor(s): ______________________________________.
  473. <p>Alternatively, the contents of this software may be used under the
  474. terms of the GNU Lesser General Public License Version 2.1 or later
  475. (the "LGPL"), in which case the provisions of the LGPL are applicable
  476. instead of those above. If you wish to allow use of your version of
  477. this software only under the terms of the LGPL, and not to allow others to
  478. use your version of this software under the terms of the MPL, indicate
  479. your decision by deleting the provisions above and replace them with
  480. the notice and other provisions required by the LGPL. If you do not
  481. delete the provisions above, a recipient may use your version of this
  482. software under the terms of either the MPL or the LGPL.
  483. <p>If you obtain this software as part of JBoss, the contents of this
  484. software may be used under only the terms of the LGPL. To use them
  485. under the MPL, you must obtain a separate package including only
  486. Javassist but not the other part of JBoss.
  487. <p>All the contributors to the original source tree must agree to
  488. the original license term described above.
  489. <p><br>
  490. <h2>Acknowledgments</h2>
  491. <p>The development of this software is sponsored in part by the PRESTO
  492. and CREST programs of <a href="http://www.jst.go.jp/">Japan
  493. Science and Technology Corporation</a>.
  494. <p>I'd like to thank Michiaki Tatsubori, Johan Cloetens,
  495. Philip Tomlinson, Alex Villazon, Pascal Rapicault, Dan HE, Eric Tanter,
  496. Michael Haupt, Toshiyuki Sasaki, Renaud Pawlak, Luc Bourlier,
  497. Eric Bui, Lewis Stiller, Susumu Yamazaki, Rodrigo Teruo Tomita,
  498. Marc Segura-Devillechaise, Jan Baudisch, Julien Blass, Yoshiki Sato,
  499. Fabian Crabus, Bo Norregaard Jorgensen, Bob Lee, Bill Burke,
  500. Remy Sanlaville, Muga Nishizawa, Alexey Loubyansky, Saori Oki,
  501. Andreas Salathe, Dante Torres estrada, S. Pam, Nuno Santos,
  502. Denis Taye, Colin Sampaleanu, Robert Bialek, Asato Shimotaki,
  503. Howard Lewis Ship, Richard Jones, Marjan Sterjev,
  504. Bruce McDonald, Mark Brennan, Vlad Skarzhevskyy,
  505. Brett Randall, Tsuyoshi Murakami, Nathan Meyers, Yoshiyuki Usui
  506. Yutaka Sunaga, Arjan van der Meer, Bruce Eckel, Guillaume Pothier,
  507. Kumar Matcha, Andreas Salathe,
  508. and all other contributors for their contributions.
  509. <p><br>
  510. <hr>
  511. <a href="http://www.is.titech.ac.jp/~chiba">Shigeru Chiba</a>
  512. (Email: <tt>chiba@acm.org</tt>)
  513. <br>Dept. of Math. and Computing Sciences,
  514. <a href="http://www.titech.ac.jp">Tokyo Institute of Technology</a>