Skip to content

Fix com.jetbrains.JBR: can't find referenced method#5316

Merged
Igor Demin (igordmn) merged 5 commits into
masterfrom
igor.demin/fix-jbr-runRelease
May 12, 2025
Merged

Fix com.jetbrains.JBR: can't find referenced method#5316
Igor Demin (igordmn) merged 5 commits into
masterfrom
igor.demin/fix-jbr-runRelease

Conversation

@igordmn

@igordmn Igor Demin (igordmn) commented May 12, 2025

Copy link
Copy Markdown
Collaborator

After JetBrains/compose-multiplatform-core#2097 is merged, CI fails with:

Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.Class,java.lang.Class,java.lang.Class,java.lang.Class,java.util.Map,java.util.function.Function)' in library class java.lang.invoke.MethodHandle
Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.invoke.MethodHandles$Lookup)' in library class java.lang.invoke.MethodHandle
<============-> 96% EXECUTING [3s]                                           Warning: there were 2 unresolved references to library class members.aseJars
         You probably need to update the library versions.-crash-in-the-field
         (https://www.guardsquare.com/proguard/manual/troubleshooting#unresolvedlibraryclassmember)
Unexpected error
java.io.IOException: Please correct the above warnings first.

During Gradle tests.

Testing

Tests for Gradle plugin pass

Release Notes

N/A

After JetBrains/compose-multiplatform-core#2097 is merged, CI fails with:
```
Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.Class,java.lang.Class,java.lang.Class,java.lang.Class,java.util.Map,java.util.function.Function)' in library class java.lang.invoke.MethodHandle
Warning: com.jetbrains.JBR: can't find referenced method 'java.lang.Object invokeExact(java.lang.invoke.MethodHandles$Lookup)' in library class java.lang.invoke.MethodHandle
<============-> 96% EXECUTING [3s]                                           Warning: there were 2 unresolved references to library class members.aseJars
         You probably need to update the library versions.-crash-in-the-field
         (https://www.guardsquare.com/proguard/manual/troubleshooting#unresolvedlibraryclassmember)
Unexpected error
java.io.IOException: Please correct the above warnings first.
```

During Gradle tests.

## Testing
Tests for Gradle plugin pass

## Release Notes
### Fixes - Desktop
N/A
Igor Demin (igordmn) and others added 3 commits May 12, 2025 13:52
@igordmn

Copy link
Copy Markdown
Collaborator Author

Reverted the version change, because it fails on macOs

@igordmn Igor Demin (igordmn) merged commit a5fa04f into master May 12, 2025
@igordmn Igor Demin (igordmn) deleted the igor.demin/fix-jbr-runRelease branch May 12, 2025 15:18
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.

2 participants