Skip to content

help classpath: canonicalization on Windows to fully resolve #4145#4647

Merged
headius merged 1 commit intojruby:masterfrom
kares:test-fake-path-redo-4145
Jun 6, 2017
Merged

help classpath: canonicalization on Windows to fully resolve #4145#4647
headius merged 1 commit intojruby:masterfrom
kares:test-fake-path-redo-4145

Conversation

@kares
Copy link
Member

@kares kares commented Jun 5, 2017

has been attempted at cbf9a7d
... using a fake root path, however on Windows /SMT expands as C:\SMT

got a bit inspired by C:/fakepath which browsers use but than I wasn't 100% sure
@headius' previous /THIS_IS_A_FAKE_PATH_FOR_JRUBY is probably a 'safer' bet ?

added '__' at the end so its more obvious if this is slightly off again (classpath:BY\path was confusing)

closes #4630 (also #4645)

has been attempted at cbf9a7d
... using a fake root path, however on Windows /SMT expands as C:\SMT

added '__' at the end so its more obvious if this is slightly off again

closes jruby#4630 (also jruby#4645)
Copy link
Member

@headius headius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no strong opinion on the special path we use. I'll only mention that I included "JRUBY" in it to help localize it specifically to us. I seriously doubt anything will ever overlap the new prefix though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jarified app breaks with uri:classloader:BY\ on Windows with 9.1.10.0

2 participants