CLOVIS
05/14/2024, 8:40 AMephemient
05/14/2024, 8:59 AMCLOVIS
05/14/2024, 9:09 AMephemient
05/14/2024, 2:29 PMinvokevirtual
bytecode instruction while interface methods are called with invokeinterface
. there's some subtle difference between the two. I can't think of anything that will outright break due to the difference, I don't think the verifier cares… but I'm not sureCLOVIS
05/14/2024, 2:34 PMmbonnin
05/14/2024, 7:03 PMException in thread "main" java.lang.IncompatibleClassChangeError: Found interface a.A, but class was expected
at main.Main.main(Main.java:7)
ephemient
05/14/2024, 7:05 PMmbonnin
05/14/2024, 7:06 PMmbonnin
05/14/2024, 7:08 PMmbonnin
05/14/2024, 7:12 PMephemient
05/14/2024, 7:15 PMWhen resolving a method reference: If C is an interface, method resolution throws an.IncompatibleClassChangeError
mbonnin
05/14/2024, 7:16 PMmbonnin
05/14/2024, 7:16 PMCLOVIS
05/15/2024, 7:40 AM