alhudz commented on PR #5006:
URL: https://github.com/apache/calcite/pull/5006#issuecomment-5983310197

   @ppkarwasz on the Checker Framework question: it doesn't come from any 
annotation in JTS. The nullness checker defaults every unannotated parameter to 
`@NonNull`, library bytecode included, and there's no stub for JTS under 
`src/main/config/checkerframework`, so a literal `null` argument gets flagged:
   
   ```
   SpatialTypeUtils.java:154: error: [argument.type.incompatible] incompatible 
argument for parameter delegate of GMLHandler.
     found   : null (NullType)
     required: @Initialized @NonNull ErrorHandler
   ```
   
   On the PMC's position: agreed, the parser is built inside `GMLReader`, so 
JTS is the right place for the fix. Fine to close this one in favour of 
locationtech/jts#1221.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to