Nikolas Falco

Results 134 comments of Nikolas Falco

This fixes the issue modelmapper/modelmapper#437

Interesting conversation related to this issue and the reason of the use of Unsafe class is in the #34

@jhalterman any comments?

> I haven't looked closely at why this is, but the current tests do pass in master right now on JDK 11 ([I just added a Travis check for this](https://travis-ci.org/jhalterman/typetools/builds/487908766))....

> > > If I am not mistaken, unsafe has been moved to a different package in jdk 10 and later so I don't understand how tests using lambdas can...

@jhalterman so the approach could be continue to use Usafe to access private field without the needs of `--add-exports` and switch to the proposed new approach to get the ConstantPool...

> How about an adaptive approach - attempt to load the class with Unsafe, if it fails then go through `SharedSecrets`? That would minimize inconvenience for existing users so they...

very appreciate feature. @rtyley any chance to get this merged?

Duplicates #167 where a solution has been proposed by the reporter