You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, you can run the XProcessingStepTest.kspProcessingEnvCaching in AndroidX on a mac machine (checkout repo, cd room && ./gradlew studio to open the project).
From my debugging, it seems to be failing on this line:
Whereas, the VirtualFile's myIoFile field is: /var/folders/t8/5nj0qf254j99114y1y5v086w007_hl/T/junit853351931968675205/ksp/generatedJava/foo/bar/Main_Impl.java
(notice the lack of /private. In my system, /var is a symlink to /private/var
ls -lah /var
lrwxr-xr-x@ 1 root wheel 11B Feb 25 23:05 /var -> private/var
Unfortunately, I cannot debug what canonicalPath returns for that file but if I'm finding the source correctly, it seems to simply return the path:
AOSP bug: https://b.corp.google.com/issues/213234559
To reproduce, you can run the
XProcessingStepTest.kspProcessingEnvCaching
in AndroidX on a mac machine (checkout repo,cd room && ./gradlew studio
to open the project).From my debugging, it seems to be failing on this line:
https://github.com/google/ksp/blob/main/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/KotlinSymbolProcessingExtension.kt#L164
The path in
newFileNames
isWhereas, the VirtualFile's
myIoFile
field is:/var/folders/t8/5nj0qf254j99114y1y5v086w007_hl/T/junit853351931968675205/ksp/generatedJava/foo/bar/Main_Impl.java
(notice the lack of
/private
. In my system,/var
is a symlink to/private/var
Unfortunately, I cannot debug what
canonicalPath
returns for that file but if I'm finding the source correctly, it seems to simply return the path:https://upsource.jetbrains.com/idea-ce/file/idea-ce-6a856f22b82f6478cd6fbdc0f281c28d5c75b712/platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java?nav=11254:11270:focused&line=478&preview=false
The text was updated successfully, but these errors were encountered: