-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jsii-runtime): treat "null" as "undefined"
Since most languages do not have a distinction between "null" and "undefined", jsii will effectively convert any "null" value passed into an argument, a property or inside an object to "undefined". Adds a compliance test to Java and .NET called "NullShouldBeTreatedAsUndefined". Fixes aws/aws-cdk#157 Fixes #282
- Loading branch information
Elad Ben-Israel
committed
Nov 7, 2018
1 parent
b7b91db
commit a4eb0d2
Showing
142 changed files
with
669 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "automatic" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
bin/ | ||
|
||
!index.js | ||
.idea | ||
pom.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
bin/ | ||
|
||
!index.js | ||
.idea | ||
pom.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.72 KB
...calc-base/java/bin/src/main/java/software/amazon/jsii/tests/calculator/base/$Module.class
Binary file not shown.
Binary file added
BIN
+1.37 KB
...e/java/bin/src/main/java/software/amazon/jsii/tests/calculator/base/Base$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+1.83 KB
...ii-calc-base/java/bin/src/main/java/software/amazon/jsii/tests/calculator/base/Base.class
Binary file not shown.
Binary file added
BIN
+4.46 KB
...java/bin/src/main/java/software/amazon/jsii/tests/calculator/base/BaseProps$Builder.class
Binary file not shown.
Binary file added
BIN
+4.32 KB
...a/bin/src/main/java/software/amazon/jsii/tests/calculator/base/BaseProps$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+3.23 KB
...lc-base/java/bin/src/main/java/software/amazon/jsii/tests/calculator/base/BaseProps.class
Binary file not shown.
Binary file added
BIN
+3.11 KB
...i-calc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/$Module.class
Binary file not shown.
Binary file added
BIN
+1.31 KB
...va/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/EnumFromScopedModule.class
Binary file not shown.
Binary file added
BIN
+1.83 KB
...a/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/IDoublable$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+1.32 KB
...alc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/IDoublable.class
Binary file not shown.
Binary file added
BIN
+1.81 KB
...va/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/IFriendly$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+1.3 KB
...calc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/IFriendly.class
Binary file not shown.
Binary file added
BIN
+6.21 KB
...a/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/MyFirstStruct$Builder.class
Binary file not shown.
Binary file added
BIN
+5.43 KB
...in/src/main/java/software/amazon/jsii/tests/calculator/lib/MyFirstStruct$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+4.62 KB
...-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/MyFirstStruct.class
Binary file not shown.
Binary file added
BIN
+2.28 KB
...ii-calc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/Number.class
Binary file not shown.
Binary file added
BIN
+2.45 KB
...va/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/Operation$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+1.88 KB
...calc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/Operation.class
Binary file not shown.
Binary file added
BIN
+6.93 KB
...main/java/software/amazon/jsii/tests/calculator/lib/StructWithOnlyOptionals$Builder.class
Binary file not shown.
Binary file added
BIN
+6.26 KB
...n/java/software/amazon/jsii/tests/calculator/lib/StructWithOnlyOptionals$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+4.81 KB
...bin/src/main/java/software/amazon/jsii/tests/calculator/lib/StructWithOnlyOptionals.class
Binary file not shown.
Binary file added
BIN
+2.07 KB
...b/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/Value$Jsii$Proxy.class
Binary file not shown.
Binary file added
BIN
+2.39 KB
...sii-calc-lib/java/bin/src/main/java/software/amazon/jsii/tests/calculator/lib/Value.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.