forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jruby#7974 from kares/ji-new-instance
[ji] support java_alias with constructor
- Loading branch information
Showing
7 changed files
with
187 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package java_integration.fixtures; | ||
|
||
public class AnArrayList extends java.util.ArrayList { | ||
public static final java.util.Vector CREATED_INSTANCES = new java.util.Vector(); | ||
|
||
public AnArrayList() { | ||
super(); | ||
CREATED_INSTANCES.add(this); | ||
} | ||
|
||
public AnArrayList(int c) { | ||
super(c); | ||
for (int i=0; i<c; i++) this.add(null); | ||
CREATED_INSTANCES.add(this); | ||
} | ||
|
||
} |
Oops, something went wrong.