UPDATE I'm on Windows, and it runs fine. I believe Thomas Kläger is correct that this is a shell issue:
Its probably because of the $Companion
in the class name. The linux shell replaces this with the contents of the Companion
environment variable - which most probably not exists and gets replaced by nothing. Try executing javap -c -p -v -constants -l -s 'okio/Options$Companion.class' | grep "buildTrieRecursive"
Unable to reproduce.
javap -c -p -l -s -constants -v Options$Companion.class | grep buildTrieRecursive
Output
#138 = Utf8 buildTrieRecursive$default
#140 = NameAndType #138:#139 // buildTrieRecursive$default:(Lokio/Options$Companion;JLokio/Buffer;ILjava/util/List;IILjava/util/List;ILjava/lang/Object;)V
#141 = Methodref #2.#140 // okio/Options$Companion.buildTrieRecursive$default:(Lokio/Options$Companion;JLokio/Buffer;ILjava/util/List;IILjava/util/List;ILjava/lang/Object;)V
#201 = Utf8 buildTrieRecursive
#214 = NameAndType #201:#202 // buildTrieRecursive:(JLokio/Buffer;ILjava/util/List;IILjava/util/List;)V
#215 = Methodref #2.#214 // okio/Options$Companion.buildTrieRecursive:(JLokio/Buffer;ILjava/util/List;IILjava/util/List;)V
574: invokestatic #141 // Method buildTrieRecursive$default:(Lokio/Options$Companion;JLokio/Buffer;ILjava/util/List;IILjava/util/List;ILjava/lang/Object;)V
private final void buildTrieRecursive(long, okio.Buffer, int, java.util.List<? extends okio.ByteString>, int, int, java.util.List<java.lang.Integer>);
625: invokespecial #215 // Method buildTrieRecursive:(JLokio/Buffer;ILjava/util/List;IILjava/util/List;)V
959: invokespecial #215 // Method buildTrieRecursive:(JLokio/Buffer;ILjava/util/List;IILjava/util/List;)V
static void buildTrieRecursive$default(okio.Options$Companion, long, okio.Buffer, int, java.util.List, int, int, java.util.List, int, java.lang.Object);
60: invokespecial #215 // Method buildTrieRecursive:(JLokio/Buffer;ILjava/util/List;IILjava/util/List;)V
d2=["Lokio/Options$Companion;","","()V","intCount","","Lokio/Buffer;","getIntCount","(Lokio/Buffer;)J","buildTrieRecursive","","nodeOffset","node","byteStringOffset","","byteStrings","","Lokio/ByteString;","fromIndex","toIndex","indexes","of","Lokio/Options;","","([Lokio/ByteString;)Lokio/Options;","okio"]
-l -s -constants -verbose
to thejavap
command.A.class
file, it's difficult to help.$Companion
in the class name. The linux shell replaces this with the contents of theCompanion
environment variable - which most probably not exists and gets replaced by nothing. Try executingjavap -c -p -v -constants -l -s 'okio/Options$Companion.class' | grep "buildTrieRecursive"