In Progress
Status Update
Comments
au...@google.com <au...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Radha Nakade <
Link:
Migrate traffic from pixel2 to mediumphone on FTL emulators.
Expand for full commit details
Migrate traffic from pixel2 to mediumphone on FTL emulators.
Bug: 396715333
Test: ./gradlew emoji2:emoji2-emojipicker:ftlmediumphoneapi33
Change-Id: If5555443ca1a91479128e1bd6f4f909154c40ba2
Files:
- M
buildSrc/private/src/main/kotlin/androidx/build/FtlRunner.kt
Hash: c76f8094154101867327912e659ae47509755957
Date: Wed Feb 26 11:27:46 2025
ju...@google.com <ju...@google.com> #3
In the compiled code both functions do have a static modifier, so it is a bug that metalava isn't including it for the object function.
public static final <T extends java.lang.Object> void reifiedInlineFunTopLevel();
descriptor: ()V
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=0
0: iconst_0
1: istore_0
2: return
LineNumberTable:
line 3: 2
LocalVariableTable:
Start Length Slot Name Signature
2 1 0 $i$f$reifiedInlineFunTopLevel I
Signature: #7 // <T:Ljava/lang/Object;>()V
public static final <T extends java.lang.Object> void reifiedInlineFunInObject();
descriptor: ()V
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=0
0: iconst_0
1: istore_0
2: return
LineNumberTable:
line 7: 2
LocalVariableTable:
Start Length Slot Name Signature
2 1 0 $i$f$reifiedInlineFunInObject I
Signature: #12 // <T:Ljava/lang/Object;>()V
RuntimeVisibleAnnotations:
0: #13()
kotlin.jvm.JvmStatic
ju...@google.com <ju...@google.com> #4
Looking into this more -- I think this might be an unsupported case because it isn't possible to call a reified inline
function from java, so the @JvmStatic
doesn't really make sense here, but I filed
ju...@google.com <ju...@google.com> #5
bu...@google.com <bu...@google.com> #6
Hi. I've received your bug and will wait for https://youtrack.jetbrains.com/issue/KT-74330 to be resolved and then assign the bug to juliamcclellan.
Description
Consider the following file
Test.kt
:When generating current.txt, the signature of the top level function contains the static modifier, but the function in the object is missing the static modifier despite the
@JvmStatic
annotation:I ran into this issue when researching if I can rename the wrapper class of top level functions in a binary compatible way, by adding a deprecated hidden object with the old wrapper class name and all the top level functions. I'd be happy to do this in a different way if the above is WAI.