Compare commits

...

2 Commits

Author SHA1 Message Date
4bfda6b0a1
bump
All checks were successful
tagged-release / Tagged Release (push) Successful in 5m38s
2025-01-28 13:11:29 +02:00
58d6110e1d
fix: stack overflow!! 2025-01-28 13:10:58 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
project_group = me.topchetoeu.j2s project_group = me.topchetoeu.j2s
project_name = j2s project_name = j2s
project_version = 0.10.10-beta project_version = 0.10.11-beta
main_class = me.topchetoeu.j2s.repl.SimpleRepl main_class = me.topchetoeu.j2s.repl.SimpleRepl

View File

@ -323,7 +323,7 @@ public final class Frame {
/** /**
* Induces a value on the stack (as if it were returned by the last function call) * Induces a value on the stack (as if it were returned by the last function call)
* and executes the next instruction in the frame. * and executes the next instruction in the frame.
* *
* @param value The value to induce * @param value The value to induce
*/ */
public final Value next(Value value) { public final Value next(Value value) {
@ -334,7 +334,7 @@ public final class Frame {
* Note that this is different than just throwing the error outside the * Note that this is different than just throwing the error outside the
* function, as the function executed could have a try-catch which * function, as the function executed could have a try-catch which
* would otherwise handle the error * would otherwise handle the error
* *
* @param error The error to induce * @param error The error to induce
*/ */
public final Value induceError(EngineException error) { public final Value induceError(EngineException error) {
@ -346,7 +346,7 @@ public final class Frame {
* Note that this is different than just returning the value outside the * Note that this is different than just returning the value outside the
* function, as the function executed could have a try-catch which * function, as the function executed could have a try-catch which
* would otherwise handle the error * would otherwise handle the error
* *
* @param value The retunr value to induce * @param value The retunr value to induce
*/ */
public final Value induceReturn(Value value) { public final Value induceReturn(Value value) {

View File

@ -57,7 +57,7 @@ public final class StringValue implements PrimitiveValue {
} }
} }
return StringValue.this.getOwnMember(env, key); return PrimitiveValue.super.getOwnMember(env, key);
} }
@Override public Set<String> getOwnMembers(Environment env, boolean onlyEnumerable) { @Override public Set<String> getOwnMembers(Environment env, boolean onlyEnumerable) {