You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the Checker framework working in the context of a small Android project built with Buck. For Android projects, Buck uses the -bootclasspath argument when invoking javac, with an argument list like:
It looks like the CheckerMain javac wrapper doesn't handle -bootclasspath correctly. This regular expression won't match the -bootclasspath argument, so I think the argument will still get passed to the underlying javac library. This leads to a warning that the annotated JDK is not being used. (I'm not sure how exactly javac handles seeing both -bootclasspath and -Xbootclasspath/p: arguments.)
Other related arguments that are not handled are -Xbootclasspath/a: and -Xbootclasspath/: (as far as I can see), as mentioned here. Properly handling combinations of these arguments may be a bit tricky; it's unclear how javac handles it from the documentation.
The text was updated successfully, but these errors were encountered:
I am trying to get the Checker framework working in the context of a small Android project built with Buck. For Android projects, Buck uses the
-bootclasspath
argument when invoking javac, with an argument list like:It looks like the
CheckerMain
javac wrapper doesn't handle-bootclasspath
correctly. This regular expression won't match the-bootclasspath
argument, so I think the argument will still get passed to the underlying javac library. This leads to a warning that the annotated JDK is not being used. (I'm not sure how exactly javac handles seeing both-bootclasspath
and-Xbootclasspath/p:
arguments.)Other related arguments that are not handled are
-Xbootclasspath/a:
and-Xbootclasspath/:
(as far as I can see), as mentioned here. Properly handling combinations of these arguments may be a bit tricky; it's unclear how javac handles it from the documentation.The text was updated successfully, but these errors were encountered: