Skip to content

Commit

Permalink
Bump to xamarin/Java.Interop/main@151b03e (#8188)
Browse files Browse the repository at this point in the history
Fixes: dotnet/java-interop#1071

Context: dotnet/java-interop@d0231c5

Changes: dotnet/java-interop@e1121ea...151b03e

  * dotnet/java-interop@151b03ee: [Java.Interop.Tools.JavaSource] Improve `<code>` parsing  (dotnet/java-interop#1125)
  * dotnet/java-interop@6a9f5cbb: [Java.Interop.Tools.JavaSource] Improve `<a>` parsing (dotnet/java-interop#1126)
  * dotnet/java-interop@d0231c5c: [generator] Override methods should match base deprecated info (dotnet/java-interop#1130)

Commit dotnet/java-interop@d0231c5c updated `override` methods'
"obsolete" data to match its base method.  This results in several
`[ObsoleteOSPlatform]` attributes being switched to `[Obsolete]`
attributes.  Updated `acceptable-breakages` to allow this.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Pobst <jonathan.pobst@microsoft.com>
  • Loading branch information
dependabot[bot] and jpobst authored Jul 14, 2023
1 parent 76ab8b2 commit c984e8b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion external/Java.Interop
27 changes: 27 additions & 0 deletions tests/api-compatibility/acceptable-breakages-vReference-net8.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,30 @@ CannotRemoveAttribute : Attribute 'Android.Runtime.RequiresPermissionAttribute'
CannotRemoveAttribute : Attribute 'Android.Runtime.RequiresPermissionAttribute' exists on 'Android.App.WallpaperManager.PeekFastDrawable()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'Android.Runtime.RequiresPermissionAttribute' exists on 'Android.App.Admin.DevicePolicyManager.PasswordComplexity.get()' in the contract but not the implementation.
CannotChangeAttribute : Attribute 'Android.Runtime.RegisterAttribute' on 'Java.Lang.Reflect.IAnnotatedElement.IsAnnotationPresent(Java.Lang.Class)' changed from '[RegisterAttribute("isAnnotationPresent", "(Ljava/lang/Class;)Z", "GetIsAnnotationPresent_Ljava_lang_Class_Handler:Java.Lang.Reflect.IAnnotatedElementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]' in the contract to '[RegisterAttribute("isAnnotationPresent", "(Ljava/lang/Class;)Z", "GetIsAnnotationPresent_Ljava_lang_Class_Handler:Java.Lang.Reflect.IAnnotatedElement, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]' in the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.App.Fragment.Equals(Java.Lang.Object)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.App.Fragment.GetHashCode()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.App.IntentService.OnBind(Android.Content.Intent)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.ClearWallpaper()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.PeekWallpaper()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.RemoveStickyBroadcast(Android.Content.Intent)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.RemoveStickyBroadcastAsUser(Android.Content.Intent, Android.OS.UserHandle)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SendStickyBroadcast(Android.Content.Intent)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SendStickyBroadcastAsUser(Android.Content.Intent, Android.OS.UserHandle)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SendStickyOrderedBroadcast(Android.Content.Intent, Android.Content.BroadcastReceiver, Android.OS.Handler, Android.App.Result, System.String, Android.OS.Bundle)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SendStickyOrderedBroadcastAsUser(Android.Content.Intent, Android.OS.UserHandle, Android.Content.BroadcastReceiver, Android.OS.Handler, Android.App.Result, System.String, Android.OS.Bundle)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SetWallpaper(Android.Graphics.Bitmap)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Content.ContextWrapper.SetWallpaper(System.IO.Stream)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Icu.Util.EthiopicCalendar.HandleGetLimit(Android.Icu.Util.CalendarField, System.Int32)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Media.RemoteController.MetadataEditor.Apply()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.CreateSocket(Java.Net.InetAddress, System.Int32)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.CreateSocket(Java.Net.InetAddress, System.Int32, Java.Net.InetAddress, System.Int32)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.CreateSocket(Java.Net.Socket, System.String, System.Int32, System.Boolean)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.CreateSocket(System.String, System.Int32)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.CreateSocket(System.String, System.Int32, Java.Net.InetAddress, System.Int32)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.GetDefaultCipherSuites()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Net.SSLCertificateSocketFactory.GetSupportedCipherSuites()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Service.Chooser.ChooserTargetService.OnBind(Android.Content.Intent)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Android.Service.Notification.ConditionProviderService.OnBind(Android.Content.Intent)' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Org.Apache.Http.Conn.Ssl.AllowAllHostnameVerifier.ToString()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Org.Apache.Http.Conn.Ssl.BrowserCompatHostnameVerifier.ToString()' in the contract but not the implementation.
CannotRemoveAttribute : Attribute 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' exists on 'Org.Apache.Http.Conn.Ssl.StrictHostnameVerifier.ToString()' in the contract but not the implementation.

0 comments on commit c984e8b

Please sign in to comment.