Skip to content

Change Java inner classes convention#520

Merged
petekanev merged 4 commits intomasterfrom
pete/fix-inner-classes
Aug 18, 2016
Merged

Change Java inner classes convention#520
petekanev merged 4 commits intomasterfrom
pete/fix-inner-classes

Conversation

@petekanev
Copy link
Copy Markdown
Contributor

@petekanev petekanev commented Jul 14, 2016

Description

The changes in this PR are motivated by issue #366. They aim to provide direct access to constant fields in inner Java types, while the syntax to create instances of inner types will be kept as close to Java conventions as possible.
The changes to the syntax can be previewed here.

Does your commit message include the wording below to reference a specific issue in this repo?

Fixes #366 - Proposal 2 / Option 3

Does your pull request have [unit tests]

Previous unit tests testing inner class behavior have been fixed to comply to the changes made in this PR. More tests will be added in the following days.

@petekanev petekanev changed the title Pete/fix inner classes Change Java inner classes convention Jul 14, 2016
@petekanev
Copy link
Copy Markdown
Contributor Author

petekanev commented Jul 14, 2016

Note: PR created to test CI, I'd need to add a couple more tests before its finalized.

I'd also like to include proper logging/errors if and when the user doesn't instantiate inner classes properly, because right now the application crashes abruptly as a result of a jni error.

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 14, 2016

💚

1 similar comment
@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 18, 2016

💚

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 18, 2016

💔

4 similar comments
@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 18, 2016

💔

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 18, 2016

💔

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 18, 2016

💔

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 19, 2016

💔

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 19, 2016

💚

1 similar comment
@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 19, 2016

💚

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 22, 2016

💔

@vchimev vchimev force-pushed the pete/fix-inner-classes branch from b47b470 to ada2d73 Compare July 22, 2016 11:02
@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 22, 2016

💔

@petekanev
Copy link
Copy Markdown
Contributor Author

run ci

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 22, 2016

💔

@petekanev
Copy link
Copy Markdown
Contributor Author

run ci

@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 22, 2016

💚

@vchimev vchimev force-pushed the pete/fix-inner-classes branch from ada2d73 to 1996e68 Compare July 25, 2016 06:30
@ns-bot
Copy link
Copy Markdown

ns-bot commented Jul 25, 2016

💚

@petekanev
Copy link
Copy Markdown
Contributor Author

petekanev commented Jul 25, 2016

ping @NativeScript/android-runtime please review

@Plamen5kov
Copy link
Copy Markdown
Contributor

👍

2 similar comments
@blagoev
Copy link
Copy Markdown
Contributor

blagoev commented Aug 18, 2016

👍

@slavchev
Copy link
Copy Markdown

👍

@petekanev petekanev merged commit a9ee29e into master Aug 18, 2016
@petekanev petekanev deleted the pete/fix-inner-classes branch August 19, 2016 08:27
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.

Android MediaRecorder.AudioSource = undefined

5 participants