[ 
https://issues.apache.org/jira/browse/NIFI-6177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Bende updated NIFI-6177:
------------------------------
    Labels: Java11  (was: )

> TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-6177
>                 URL: https://issues.apache.org/jira/browse/NIFI-6177
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>              Labels: Java11
>             Fix For: 1.10.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This test uses the TestRecordLookupProcessor because the mock framework needs 
> a processor to create a test runner, but the test really isn't using the 
> processor.
> When the test runs, the processor has a List<Record> but this lookup service 
> returns List, so it ends up adding List to List<Record> , which apparently 
> Java 8 allows.
> In Java 11 it throws a class cast exception.
> Same problem exists in the 2.x version of the HBase stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to