JEP 190: Pluggable Static Analyzers

Florian Weimer fweimer at redhat.com
Tue Jan 28 00:49:30 PST 2014


On 01/28/2014 01:52 AM, Jonathan Gibbons wrote:
> Why is JEP 190 different from the support already in javac for pluggable
> static analyzers, such as provided by -Xplugin?

The JSR 269 interface does not provide access to expressions and method 
bodies.  It happens that through this interface, javac internals which 
provide this information are available after casting to internal javac 
classes.  However, this is not a supported interface, and the internal 
javac data structures are not directly suited to implementing analysis 
passes.

-- 
Florian Weimer / Red Hat Product Security Team


More information about the compiler-dev mailing list