If you watch talks like The Secret History and Tragic Fate of sun.misc.Unsafe ( <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4HG0YQVy8UM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4HG0YQVy8UM</a> ) you&#x27;ll see that there is a move to isolate unsupported APIs and to slowly remove them once they are replaced by supported ones, but in general code that uses public APIs should continue to work without recompilation for a long time.