Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try not to canonicalize load names before parse #6735

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

headius
Copy link
Member

@headius headius commented Jul 1, 2021

In #5662 we see that the eventual source name used by e.g. __FILE__ should not be the canonicalized name, and should reflect the original load name more closely. On Windows, 8.3 names should not be expanded to full paths, and on unix, symlinks should not be replaced with their referees.

This is an experiment to see if a simple change might get the original paths where we want them.

@headius headius added this to the JRuby 9.3.1.0 milestone Jul 1, 2021
@headius
Copy link
Member Author

headius commented Oct 11, 2021

Fixing this should also fix #5240 but at the moment it does not appear to. The specs expecting symlinked files to appear as-is in e.g. $LOADED_FEATURES still appear to canonicalize to the target of the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant