No, it doesn’t.
The input-data to the compiler can’t be handled by the JVM and vice versa.
The JVM handles byte code as input.
The compiler handles source code as input.
That is two different functions with two different data domains.
They literally have different types!
Which one of the two functions is the thing you call “Java”?