-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10410 from som-snytt/tweak/inliner-message
Tweak inliner error message
- Loading branch information
Showing
4 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
newSource1.scala:1: warning: A_1::test()Ljava/lang/String; could not be inlined: | ||
Failed to check if A_1::test()Ljava/lang/String; can be safely inlined to T without causing an IllegalAccessError. Checking instruction INVOKEDYNAMIC m()LA_1$Fun; [ | ||
Failed to check if A_1::test()Ljava/lang/String; can be safely inlined to T without causing an IllegalAccessError. | ||
Checking failed for instruction INVOKEDYNAMIC m()LA_1$Fun; [ | ||
// handle kind 0x6 : INVOKESTATIC | ||
not/java/lang/SomeLambdaMetafactory.notAMetaFactoryMethod(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | ||
// arguments: | ||
(Ljava/lang/String;)Ljava/lang/String;, | ||
// handle kind 0x6 : INVOKESTATIC | ||
A_1.lambda$test$0(Ljava/lang/String;)Ljava/lang/String;, | ||
(Ljava/lang/String;)Ljava/lang/String; | ||
] failed: | ||
]: | ||
The callee contains an InvokeDynamic instruction with an unknown bootstrap method (not a LambdaMetaFactory). | ||
class T { def foo = A_1.test } | ||
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters