aionnetwork / AVM

Enabling Java code to run in a blockchain environment
https://theoan.com/
MIT License
49 stars 25 forks source link

Issues in shadow classes revealed by generated tests #361

Closed aion-shidokht closed 5 years ago

aion-shidokht commented 5 years ago

Problems revealed by the generated tests (using Randoop) for shadow classes are:

Also, StringConcatFactory, LambdaMetafactory methods could not be called from deployed tests.

aion-shidokht commented 5 years ago

Directly calling the methods in StringConcatFactory and LambdaMetafactory will not be supported since it would involve implementing a shadow version of multiple classes (MethodHandles, MethodType, Lookup, MethodHandle, CallSite).