diff options
| author | iniklyaev <[email protected]> | 2026-05-26 01:06:23 +0300 |
|---|---|---|
| committer | iniklyaev <[email protected]> | 2026-05-26 01:44:00 +0300 |
| commit | b24e4a4105f85b5bbeff7eed04607ae562edad06 (patch) | |
| tree | d6311c3b25c6db9c45568a3aa0aeda1acbb95b34 /contrib/python/ipython/py3/IPython/utils/strdispatch.py | |
| parent | ad3c7a94d64009852dd9ed883f4e002692137c6f (diff) | |
remap -Xfriend-paths to interface jar when ijar is active
When ijar compilation is active, the classpath contains X-interface.jar
instead of X.jar. Kotlin only grants 'internal' visibility access via
-Xfriend-paths when the specified path matches a classpath entry.
Fix: in run_javac.py, for Kotlin compilations, rewrite any
-Xfriend-paths=X.jar argument to -Xfriend-paths=X-interface.jar when
X-interface.jar exists on disk. This restores access to 'internal'
members for test modules that use -Xfriend-paths without requiring
changes to user ya.make files.
commit_hash:a11a6acd8994258a32090a71de9a55d5aeccc5dd
Diffstat (limited to 'contrib/python/ipython/py3/IPython/utils/strdispatch.py')
0 files changed, 0 insertions, 0 deletions
