Skip to content

Add null checks to CborUtils and test cases. - #31

Closed
vikram-gaur wants to merge 2 commits into
mainfrom
updates
Closed

Add null checks to CborUtils and test cases.#31
vikram-gaur wants to merge 2 commits into
mainfrom
updates

Conversation

@vikram-gaur

Copy link
Copy Markdown
Collaborator

No description provided.

The library fails to compile on latest JDKs since the JDKs have now
started to strictly encapsulate internal JDK packages. Since ErrorProne
requires access to these internal packages, we need to grant access to
these internal packages.

This change also fixes a minor issue with memory allocation.
This change adds a new test file CborUtilsTest for testing the utility
functions. It also adds null checks in the helper functions to avoid
NullPointerException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant