#1050·Recaf

Assembler: using Slash inbetween Type and Method Name Ignores Instruction

Author: stellarpowerCreated Sep 23, 2026Updated Sep 24, 2026
Labelsbugusage

Knowing next to nothing about the JVM, it seems that other assemblers available use the following pseudo-syntax for calling a static method:

invokestatic java/lang/Runtime/getRuntime ()Ljava/lang/Runtime;
iconst_1
invokevirtual java/lang/Runtime/halt (I)V

Note the slash - whilst Recaf's assembler uses a slash on the type but a full stop between the class and the method:

invokestatic java/lang/Runtime.getRuntime ()Ljava/lang/Runtime;
iconst_1
invokevirtual java/lang/Runtime.halt (I)V

When I have pasted something in with the slash, the file assembles, I can save/export - but the instructions are silently being ignored. The checksum on the file is identical to removing those instructions. If I change the notation to a dot, then re-assembly works as expected.

This is really annoying as a new user - if this is a syntax error (maybe something more complicated is at play that I don't know), then it'd obviously be nice to have an error instead.

Thanks

Version: 4.0.0-SNAPSHOT 3bc81a8

P.S.: Looks like some American gremlins are in the build version, as it's in the correct big-endian format but formatted a bit weirdly:

Image

2026-09-15, or less good, 15/09/2026 in my locale, would make more sense.