Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
ab2ccf6
WIP: first demo of 0-arg ctor callable from java getClass().newInstan…
byteit101 Oct 2, 2020
fa00023
WIP: Moving Concrete extension code into Reification code to add ctor…
byteit101 Oct 22, 2020
5c04320
More WIP constructor code. Multi-constructors should function, and no…
byteit101 Oct 24, 2020
2998f72
Remove test class reference
byteit101 Oct 24, 2020
4c61162
Reasonable multi-signature support (codegen, helpers missing) and hor…
byteit101 Nov 1, 2020
d1f30e0
Refactorings & actually detect which ctor to call. Also supports supe…
byteit101 Nov 12, 2020
9cd6bb3
Merge branch 'master' of https://github.com/jruby/jruby into wip_newi…
byteit101 Nov 12, 2020
99239f0
Update hack to use most recent api
byteit101 Nov 12, 2020
5f9b618
Make more tests work and be less verbose
byteit101 Nov 12, 2020
996197f
Minor cleanups of type safety and move AST transform to new file
byteit101 Nov 15, 2020
c0995d5
missed a file
byteit101 Nov 15, 2020
89f90db
General cleanup, fixes, and flailing around trying to get the scope w…
byteit101 Nov 15, 2020
be1653a
Add support for split allocate+initialize and arbitrary ruby argument…
byteit101 Nov 17, 2020
ef43757
Working scoping for most code. Missing some elements still
byteit101 Nov 17, 2020
eb1ecdb
Start fixing some easy test failures
byteit101 Nov 18, 2020
cfcc2fd
Several test fixes
byteit101 Nov 18, 2020
3b181d8
Update for import/style consistency
enebo Nov 25, 2020
913736c
Super bridges, partial work on ruby<ruby<java heirarchy, other assort…
byteit101 Nov 25, 2020
cf4adfe
Move some gen code into split/finish Init pair
byteit101 Nov 25, 2020
e0d2ddb
Down to 1+4+ant failures
byteit101 Nov 27, 2020
52dd70f
Very questionable implementation of ruby < ruby < java hierarchy
byteit101 Nov 27, 2020
7859cd5
Method overrides on the java side
byteit101 Nov 27, 2020
7f2058c
Class#clone should copy local reify state
byteit101 Nov 27, 2020
08ae7dd
Add WIP unconnected interpreter which will allow stopping and continuing
enebo Nov 30, 2020
1322977
Filled out to the point I believe RubyClass can ask for the interpreter
enebo Nov 30, 2020
3311fa0
Add depth logic to IR super splitting.
enebo Dec 1, 2020
5fe86f0
Revert "Update for import/style consistency"
byteit101 Dec 3, 2020
945f66e
Merge branch 'enebo_newinstance' into wip_newinstance
byteit101 Dec 3, 2020
1519da7
Assign superCall when found
byteit101 Dec 3, 2020
5e8c211
Tie in new IR work
byteit101 Dec 3, 2020
90fb7cf
Add proper scopes to fix errors, and guesses at frames.
byteit101 Dec 4, 2020
8d6d424
proper zsuper support from @enebo
byteit101 Dec 6, 2020
d2fb097
Reorganize and clean up split invocations; add support for custom names
byteit101 Dec 6, 2020
8fa6ba1
All are compileable, for some reason
byteit101 Dec 6, 2020
73b6e89
Cleanup and bug fixes
byteit101 Dec 9, 2020
5bddf82
More tests and fixes for nested classes
byteit101 Dec 12, 2020
abb05c1
Merge branch 'master' of https://github.com/jruby/jruby into wip_newi…
byteit101 Dec 12, 2020
53d7eff
Fix merge issues & add new test
byteit101 Dec 12, 2020
d27fab3
module support, split new support, nicer ruby api
byteit101 Dec 12, 2020
39adc70
More tests & updated configure
byteit101 Dec 12, 2020
ce66437
Lots of cleanup and refactoring
byteit101 Feb 15, 2021
9ae5915
Merge remote-tracking branch 'origin/master' into wip_newinstance
byteit101 Feb 17, 2021
e51ce30
Formatting, cleanup, licence blocks
byteit101 Feb 21, 2021
091c868
More cleanup
byteit101 Feb 23, 2021
18dfe11
(non-working) test for interface default super
byteit101 Feb 23, 2021
5860ce9
Mark failing tests, fix 1 test, add 1 test for negative super looping…
byteit101 Mar 5, 2021
da2bc4e
Missed update for prior commit
byteit101 Mar 6, 2021
67f03ae
Merge master and update to Signature
byteit101 Mar 6, 2021
300005f
Refactor RCG to pass index and converted args from splitInit
byteit101 Mar 6, 2021
2eed247
Re-reify if we are an unreified child
byteit101 Mar 6, 2021
d68357e
Don't hide static int exceptions?
byteit101 Mar 6, 2021
03b5554
Only the last half of java integration is pending
byteit101 Mar 6, 2021
b12e5a6
Merge remote-tracking branch 'origin/master' into wip_newinstance
byteit101 May 13, 2021
a5b1b8d
This PR still needs a public ctor
byteit101 May 14, 2021
dc3f34f
Doc & remove puts in class configurator
byteit101 May 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Assign superCall when found
  • Loading branch information
byteit101 committed Dec 3, 2020
commit 1519da71db9c63950d6e79cefe43c9226bf6dab8
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public synchronized InterpreterContext builtInterperterContextForJavaConstructor
// We have already found one super call already. No analysis yet to figure out if this is
// still ok or not so we will error.
if (superCall != null) throw getManager().getRuntime().newRuntimeError("Found multiple supers in java ctor");

superCall = ((CallBase) instr);
superIPC = ipc;
} else if (instr instanceof JumpTargetInstr) {
Label label = ((JumpTargetInstr) instr).getJumpTarget();
Expand Down