New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android - Legacy Type Mapping works different from JDK #87
Comments
I researched in the code and created the test class Concsequently, this means there is no bug in the MemoryAccessor implementation. Maybe it would help to extract the relevant reflection code into a short test class for easy debugability. I'll try to do that. |
Trying to debug the problem myself via Android Studio with the support from ZJ failed because the main board of my home PC does not support Virtualization. But it's actually quite trivial to debug if one has a proper system for it: |
Nj, the method #copy_byteTo_float. is not called. |
Ok, then it has to be investigated which translators are used in |
|
After a short live debugging on ZJ's Machine per team viewer: |
One additionaly observed difference between Android and Windows is that |
This may be a class loader issue. Unfortunately i have no idea how to change the SystemClassLoader behavior under Android to prove this .... |
I removed all references to SystemClassLoader-defaulting type-resolving methods. This time definitely, because I checked all occurances of ClassLoader.getSystemClassLoader() / XReflect#defaultTypeResolvingClassLoader() this time. PersistenceTypeDictionaryParser now uses the PersistenceTypeResolver which, in turn uses the ClassLoaderProvider instead of the SystemClassLoader. |
Test successful. |
I have two classes:
I save the first one, change the class and start with the second class
A received:
This is not an conversion what i expect.
On the classic JVM works as intended:
The text was updated successfully, but these errors were encountered: