Skip to content

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Feb 13, 2025

Context: dotnet/java-interop#1279

Updates Java.Interop to be built with net9.0 instead of net8.0.

@jpobst jpobst force-pushed the dev/jpobst/test-ji-1279 branch from ee08197 to 031e87a Compare February 13, 2025 22:42
@jpobst jpobst changed the title Test JI 1279 (NET 9). [Java.Interop] Target net9.0 Feb 18, 2025
@jpobst jpobst marked this pull request as ready for review February 18, 2025 17:40
@jpobst jpobst requested a review from jonpryor as a code owner February 18, 2025 17:40
jonpryor pushed a commit to dotnet/java-interop that referenced this pull request Feb 18, 2025
Context: 356485e
Context: #1258
Context: dotnet/android#9793

We want to add a call to [Debugger.BreakForUserUnhandledException][0]
-- which was added in .NET 9 -- into `Java.Interop.JniRuntime` as
part of Issues #1258.

In order to do this we need to update `dotnet/java-interop` to build
with .NET 9 instead of .NET 8.

This also contains fixes for new trimming warnings that were surfaced
when targeting .NET 9.

Requires companion changes in `dotnet/android`: dotnet/android#9793

Co-authored-by: Jonathan Peppers <[email protected]>

[0]: https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.breakforuserunhandledexception
@jpobst jpobst force-pushed the dev/jpobst/test-ji-1279 branch from 031e87a to 4db3915 Compare February 18, 2025 20:51
@jpobst jpobst force-pushed the dev/jpobst/test-ji-1279 branch from 4db3915 to 688bbf0 Compare February 18, 2025 20:53
@jonpryor jonpryor merged commit ee382e1 into main Feb 19, 2025
58 checks passed
@jonpryor jonpryor deleted the dev/jpobst/test-ji-1279 branch February 19, 2025 12:08
grendello added a commit that referenced this pull request Feb 20, 2025
* main:
  Bump com.android.tools.build:manifest-merger from 31.8.0 to 31.8.1 (#9800)
  [Xamarin.Android.Build.Tasks] unify `$(AndroidCodegenTarget)` (#9806)
  Bump to dotnet/java-interop@f30e420a (#9793)
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants