Closed Bug 1191872 Opened 9 years ago Closed 9 years ago

Move annotations to org.mozilla.gecko.annotation package

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox42 affected, firefox43 fixed)

RESOLVED FIXED
Firefox 43
Tracking Status
firefox42 --- affected
firefox43 --- fixed

People

(Reporter: jchen, Assigned: capella)

References

Details

Attachments

(1 file)

The Java convention is having a separate package for annotations (e.g. java.lang.annotation, android.annotation, etc.)

Bug 1191161 is moving WrapElementForJNI to org.mozilla.gecko.annotation.

In addition, we have JNITarget, RobocopTarget, and WebRTCJNITarget that are in org.mozilla.gecko.mozglue right now but should be moved to org.mozilla.gecko.annotation.
Attached patch bug1191872.diffSplinter Review
Crank it out :-)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=cb74e31fffd5
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Attachment #8645310 - Flags: review?(nchen)
Comment on attachment 8645310 [details] [diff] [review]
bug1191872.diff

Review of attachment 8645310 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM. Thanks!

::: mobile/android/base/util/NativeJSContainer.java
@@ +4,5 @@
>   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
>  
>  package org.mozilla.gecko.util;
>  
> +import org.mozilla.gecko.annotation.JNITarget;

You can remove this since JNITarget is not used in NativeJSContainer.
Attachment #8645310 - Flags: review?(nchen) → review+
https://hg.mozilla.org/mozilla-central/rev/11024b678090
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: