Some small classpath tweaks to be compatible with openJDK's api

These were some small classpath changes I found from running the Threadly unit tests within avian.

I will comment in line about each one since they are pretty random.