Suzanne Millstein

Results 48 comments of Suzanne Millstein
trafficstars

I tried the reproducer, but did not get the crash. Can you make a smaller example the reproduces the crash?

I think the problem is that `setRoot` is called for each class in the `CompilationUnitTree`. If the class has already been processed, then that ClassTree has missing information. (We have...

Ok, I see that in the reproduction that @iamsanjaymalakar supplied, -AajavaChecks isn't used and this is still a problem. That crash is triggered in `AnnotatedTypeFactory#setRoot` by `currentFileAjavaTypes.parseAjavaFileWithTree(ajavaPath, root);`. The problem...

`trustArrayLenZero` is only a lint option for the Nullness Checker. You are passing it to the other checkers listed in the pom file. To just pass it to the Nullness...

> @smillst Even after putting this `-ANullnessChecker_lint=trustArrayLenZero` command line . It only recoganises the annotation when placed like this : > > ``` > private static final Configuration @ArrayLen(0) []...

Before version 3.43.0, type argument inference errors were suppressed by default. We greatly improved the handling of type argument inference in 3.43.0, so they are no longer suppressed by default....

The problem is an *argument* to the constructor, not its formal parameters. Try this assigning the constructor to a local variable to see it's type and you should get an...

Thanks for the test case. This is a bug. Here's a smaller test case that reproduces the problem: ``` import java.util.stream.Collectors; import java.util.stream.Stream; public class Issue6629 { void method(Stream stream){...