consolidated VM notes for primitive classes

Florian Weimer fw at deneb.enyo.de
Sun May 2 09:14:07 UTC 2021


* Gernot Neppert:

> To be honest, this seems to be the most unconvincing reason one could 
> think of. How could the addition of an interface in 
> "Class::getInterfaces" ever be a problem?

It leads to test suite failures, e.g. here:

| Class<?>[] interfaces = new Class<?>[]{org.python.core.PyProxy.class,
|         org.python.core.ClassDictInit.class};
| assertArrayEquals(interfaces, proxyClass.getInterfaces());

<https://sources.debian.org/src/jython/2.7.2+repack1-3/tests/java/org/python/compiler/JavaMakerSmokeTest.java/?hl=68#L68>

Someone with a real semantic scanner could probably find more
instances.  I don't know if it is really such a frequent problem in
tests.


More information about the valhalla-spec-observers mailing list