Skip to content

Commit

Permalink
fix(java-app-template): invoke app.run() (#2300)
Browse files Browse the repository at this point in the history
Since the java client for jsii does not cleanly shutdown
the jsii-runtime process, the implicit "app.run()" does not
work, and the app cannot be synthesized.

Fixes #2289

Related: aws/jsii#456
  • Loading branch information
Elad Ben-Israel committed Apr 15, 2019
1 parent d72806b commit 47ff448
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ public static void main(final String argv[]) {

new HelloStack(app, "hello-cdk-1");
new HelloStack(app, "hello-cdk-2");

// required until https://github.com/awslabs/jsii/issues/456 is resolved
app.run();
}
}

0 comments on commit 47ff448

Please sign in to comment.