Bug 17998 - Fix or provide a way to suppress "Warning BG8C00: For type Java.Lang.Object, base interface Java.Interop.IJavaObjectEx does not exist."
Summary: Fix or provide a way to suppress "Warning BG8C00: For type Java.Lang.Object, ...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.12.0
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-02-25 14:54 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2014-04-30 15:49 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Project for workaround, with empty IJavaObjectEx interface (3.81 KB, application/zip)
2014-02-25 14:54 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2014-02-25 14:54:47 UTC
Created attachment 6145 [details]
Project for workaround, with empty IJavaObjectEx interface

As of Xamarin.Android 4.12, Android binding projects now all produce an additional warning:

Warning BG8C00: For type Java.Lang.Object, base interface Java.Interop.IJavaObjectEx does not exist. (BG8C00)


For users who would like to be able to get a completely warning-free build, it would be lovely to have either:

A. A fix so that this warning doesn't appear.

or

B. As a workaround, a way to suppress this warning from the binding generator.



## "Messy" workaround

Add a reference to the attached project in the binding project. This project just contains an empty interface definition for Java.Interop.IJavaObjectEx.



Thanks!
Comment 2 Jonathan Pryor 2014-03-03 09:55:00 UTC
Fixed in monodroid/30025ac7.
Comment 4 David Schwegler 2014-04-30 15:08:19 UTC
Has this change been shipped? I'm seeing this warning in my bindings project. Wondering if I'm doing something wrong, or if this bug wasn't fixed, or if it hasn't shipped yet. 

Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1

Xamarin.Android   4.12.03003 (7f0e3d3c)
Comment 5 Jonathan Pryor 2014-04-30 15:48:05 UTC
This change will ship in Xamarin.Android 4.14.
Comment 6 David Schwegler 2014-04-30 15:49:04 UTC
Thanks Jon!