-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java interface proxies do not respect optional arguments in methods #175
Labels
Comments
This will likely be true for constructors, as well. |
Constructors are covered by |
eladb
changed the title
Java interface proxies (and builders?) do not respect optional arguments in methods
Java interface proxies do not respect optional arguments in methods
Sep 5, 2018
eladb
pushed a commit
that referenced
this issue
Sep 5, 2018
2 tasks
mpiroc
added a commit
that referenced
this issue
Sep 6, 2018
[0.7.2](v0.7.1...v0.7.2) (2018-09-06) Bug Fixes * Missing types in JSII assembly, invalid Java code, confusing docs ([#208](#208)) ([b37101f](b37101f)), closes [#175](#175) Features * **jsii:** Re-implemented jsii to support --watch and produce better error reporting ([#188](#188)) ([76472be](76472be))
mpiroc
added a commit
that referenced
this issue
Sep 6, 2018
[0.7.2](v0.7.1...v0.7.2) (2018-09-06) Bug Fixes * Missing types in JSII assembly, invalid Java code, confusing docs ([#208](#208)) ([b37101f](b37101f)), closes [#175](#175) Features * **jsii:** Re-implemented jsii to support --watch and produce better error reporting ([#188](#188)) ([76472be](76472be))
Merged
mpiroc
added a commit
that referenced
this issue
Sep 6, 2018
* v0.7.2 [0.7.2](v0.7.1...v0.7.2) (2018-09-06) Bug Fixes * Missing types in JSII assembly, invalid Java code, confusing docs ([#208](#208)) ([b37101f](b37101f)), closes [#175](#175) Features * **jsii:** Re-implemented jsii to support --watch and produce better error reporting ([#188](#188)) ([76472be](76472be)) * Check in changes to tarball expectations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They should convert optional members into method overloads.
Repro:
Package to java and the generated interface will include two methods (one with a single argument and one with two) but the proxy will only contain a single method. Compilation will fail.
The text was updated successfully, but these errors were encountered: