Skip to content

Android version of J crashes repeatedly with faulty code. #37

@sam-falvo

Description

@sam-falvo

While working with the Android version of J701, referenced from http://www.jsoftware.com/jwiki/Android, I've discovered certain classes of syntax errors will cause the interpreter to crash hard. I downloaded the APK here: https://github.com/mdykman/jconsole_for_android/blob/master/dist/j-console.apk

I would have left this issue on mdykman's Github page, but no issues tab exists for it.

To reproduce:

a=:a
a''

When executed, the above code will result in the J interpreter force-stopping and returning back to the Android home screen. I would rather expect it to deliver a "syntax error" instead, as it does on the desktop.

I know it's not an infinite loop exceeding its stack, because this:

a=:$:
a''

will properly deliver a stack error.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions