[
https://issues.apache.org/jira/browse/FLINK-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908936#comment-16908936
]
Xintong Song commented on FLINK-13332:
--------------------------------------
Thank you for reporting this, [~Tison].
I'd also like to know are you willing to work on this issue?
> PackagedProgram#isUsingInteractiveMode implemented error prone
> --------------------------------------------------------------
>
> Key: FLINK-13332
> URL: https://issues.apache.org/jira/browse/FLINK-13332
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client
> Affects Versions: 1.10.0
> Reporter: TisonKun
> Priority: Minor
>
> Currently, {{PackagedProgram#isUsingInteractiveMode}} implemented as
> {code:java}
> public boolean isUsingInteractiveMode() {
> return this.program == null;
> }
> {code}
> is hacky and a better implementation would be
> {code:java}
> public boolean isUsingInteractiveMode() {
> return hasMainMethod(mainClass);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)