Sjavac outputs errors such as the following:
warning: [deprecation] XYZ in some.package has been deprecated
import static some.package.SomeEnum.INVALID_PERIOD;
while invoking javac directly doesn't. The strange part is that this error comes from javac, so there seems to be some difference between invoking javac through the API and through the command line.
warning: [deprecation] XYZ in some.package has been deprecated
import static some.package.SomeEnum.INVALID_PERIOD;
while invoking javac directly doesn't. The strange part is that this error comes from javac, so there seems to be some difference between invoking javac through the API and through the command line.
- blocks
-
JDK-8044133 Make sjavac the default in the build scripts
-
- Resolved
-