test failures

Werner Dietl wdietl at gmail.com
Fri Jan 18 17:28:20 PST 2013


Hi Jon,

let me give you an update of what currently works and what I want to
do over the next few days.

Running all langtools jtreg tests, I currently only see a few problems.

CombinationsTargetTest1.java and CombinationsTargetTest2.java fail on
repeated annotations in method bodies. Joel said he will look at
fixing those.

ExceptionParameters.java fails for multicatch. I didn't find a way to
connect the information I have at TA resolution to the exception table
yet. Please let me know if you have suggestions.

I don't understand the failure of
tools/javac/processing/model/TestSymtabItems.java
and the output is not very clear to me. Could you explain the failure?

I see some failures com "FunctionalInterface", but they might be
caused by me not having rebuilt the whole JDK recently enough.

Javadoc doesn't work yet and therefore
com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java
fails.

Building up AnnotatedType will be needed for javadoc. It is also used
by this test:
tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass.java
I only get 6 out of 8 expected errors. I am not sure why the last two
don't show up.

I tried integrating AnnotatedType more widely, but am running into
problems. I think it would be best if somebody more familiar with
XXXType and type resolution takes a closer look.

I fixed a few inconsistencies in counting nested types and also
performed the renumbering of TargeType constants.
I think the bytecode corresponds to the specification, up to Lambda
and Multicatch.

The other good news is that I've updated the Checker Framework to work
with the new bytecode format. All test cases but 2 work. The two
failures are related to the new intersection types, which I haven't
integrated yet.

Overall, I think the current implementation is stable, usable, and fit
for integration into TL.
There are a few things open. I will focus on cleanups over the next
few days and leave bigger changes for after M6 integration.

Does this sound like the right approach?
Please do let me know if there are specific issues you want me to have
a look at before the push to TL.

Cheers,
cu, WMD.


On Fri, Jan 18, 2013 at 4:16 PM, Jonathan Gibbons
<jonathan.gibbons at oracle.com> wrote:
> Werner,
>
> I see there are a number of failures when I run the langtools jtreg tests in
> the type-annotations forest.
>
> What is the current state with regards to addressing these issues?
>
> -- Jon



-- 
http://www.google.com/profiles/wdietl


More information about the type-annotations-dev mailing list