testing the -target option
Alan Snyder
javalists at cbfiddle.com
Mon Oct 28 15:49:48 UTC 2024
I’m curious to know how the javac -target option is tested. I can think of several possibilities, but am wondering what actually is done.
(I did not find any discussion of this issue in the online project docs.)
A few questions:
* Is javac -target required to generate the same byte code as the target javac?
* Is javac -target required to generate the same error messages as the target javac?
* Are there negative tests to verify that language features introduced in later releases are rejected?
* How frequently are the tests typically run?
Thank you.
Alan
More information about the compiler-dev
mailing list