Skip to content

Commit

Permalink
adds src/test/test5/SwitchCase.java. It also adds the javadoc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
chibash committed Jan 27, 2019
1 parent 023f755 commit 576b141
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ <h2>Changes</h2>

<p>-version 3.25
<ul>
<li>GitHub Issue #72 (PR #231).
<li>GitHub Issue #72 (PR #231), #242 (PR #243).
</ul>

<p>-version 3.24.1 on December 9, 2018
Expand Down
5 changes: 5 additions & 0 deletions src/main/javassist/util/proxy/ProxyFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,10 @@ Class<?> createClass(byte[] signature)

/**
* Generates a proxy class using the current filter.
* It loads a class file by the given
* {@code java.lang.invoke.MethodHandles.Lookup} object,
* which can be obtained by {@code MethodHandles.lookup()} called from
* somewhere in the package that the loaded class belongs to.
*
* @param lookup used for loading the proxy class.
* It needs an appropriate right to invoke {@code defineClass}
Expand All @@ -492,6 +496,7 @@ public Class<?> createClass(Lookup lookup) {
* It needs an appropriate right to invoke {@code defineClass}
* for the proxy class.
* @param filter the filter.
* @see #createClass(Lookup)
* @since 3.24
*/
public Class<?> createClass(Lookup lookup, MethodFilter filter) {
Expand Down
5 changes: 5 additions & 0 deletions src/test/test5/SwitchCase.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package test5;

public class SwitchCase {
public static final String STR1 = "foo";
}

0 comments on commit 576b141

Please sign in to comment.