spuru9 commented on PR #30184:
URL: https://github.com/apache/flink/pull/30184#issuecomment-7228186106
There are other similar `Class.forName(...).newInstance()`, Class<?>[]
element CLASSES[i] like in ArrayFromTupleTest, Class<...> field or parameter
like in stubClass.newInstance() (in TaskTestBase).
Maybe we can fold them in as well.
```
┌──────────────────────────────────┬───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Receiver │ Sites │
Files
│
├──────────────────────────────────┼───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Class<...> field or parameter │ 12 │ TaskTestBase,
UnaryOperatorTestBase, BinaryOperatorTestBase (raw Class),
TypeSerializerUpgradeTestBase (2), AvroKryoClassloadingTest,
│
│ │ │ PojoSerializerUpgradeTest,
ResettableExternalBufferTest (3),
Generated{Collector,Function,ResultFuture}Wrapper
│
├──────────────────────────────────┼───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Class<?>[] element CLASSES[i] │ 4 │ ArrayFromTupleTest (2),
FieldFromTupleTest, FieldsFromTupleTest
│
├──────────────────────────────────┼───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Class.forName(...).newInstance() │ 5 │ InstantiationUtilTest,
DeclineCheckpointTest, ClassLoaderDeserializationTest, TestServiceA
│
└──────────────────────────────────┴───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
```
--
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]