JEP 190: Pluggable Static Analyzers

Eric McCorkle eric.mccorkle at oracle.com
Tue Jan 28 11:11:32 PST 2014


On 01/28/14 03:49, Florian Weimer wrote:
> 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.
> 

An eventual goal of the system envisioned by JEP 190 is to allow
analysis tools to operate on javac's trees as opposed to source or
bytecode (as is common now).  Of course, there are quite a few
intermediate steps that have to be taken to realize that goal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140128/55b06a4a/eric_mccorkle.vcf 


More information about the compiler-dev mailing list