TisonKun created FLINK-13332: -------------------------------- Summary: 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
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)