Better encapsulation for AnnotatedType
jonathan.gibbons at oracle.com
Thu Sep 19 19:21:03 PDT 2013
On 09/19/2013 07:07 PM, Jonathan Gibbons wrote:
> On 09/15/2013 12:53 AM, Werner Dietl wrote:
>> I have one more change that I just pushed:
>> I changed com.sun.tools.javac.tree.TreeCopier.visitLabeledStatement
>> to take the copied body instead of the original body.
>> Charlie Garrett discovered this problem after painful debugging of a
>> Checker Framework problem that depended on whether a label is present or
>> I cannot present a simple test case for the error, but the change
>> doesn't break any existing test cases.
>> Also note that this was the only "unused variable" warning in
>> TreeCopier. Warnings are useful.
> Well, that ws an embarrassing bug. Thank you for pointing it out. I'll
> apply the patch for this changeset to tl/langtools.
> -- Jon
Changeset pushed to tl/langtools.
More information about the type-annotations-dev