1. install fresh 3.4
2. click on .java file in win explorer
3. NB comes up, with the correct filesystem mounted but
the editor is not opened
Well, this is showstoper for 3.4 RC1, please evaluate ASAP.
It seems like it doesn't work only for first opened file, if you close
Welcome Screen , close IDE, and try to open java file again ,
appropriate filesystem is mounted, Source Editor isn't opened but menu
item View | Source Editor is enabled and if you push it Source Editor
with right java file is opened.
cc'ing Marek for evaluation of Window System side
Main problem is that runide.exe extends arguments with path to java
file in 8.3 format, e.g. C:\MAIN~1.JAV, and it is not currently
recognized as Java file at Utilities side. If it is run with
C:\Main.java everything is right. I hope EXE is able to use right full
name, because it could be nicer fix that in Utilities module.
Trung said that EXE is not able to determine file name -- it get it
from oper. system.
[Back to Utilities]
It occures just if filesystem of requested file is not mounted yet.
OpenFile does not recognize .JAV files as Java sources, e.g.
C:\src\org\MAIN~1.JAV. Then it does not parse it to detect right
package and mount parent directory as root of new FS, e.g. C:\src\org.
But FS is not able to find MAIN~1.JAV on it -- nothing is opened.
Using File.getCanonicalFile() I get correct file name, e.g.
(See attached patch.)
Created attachment 6887 [details]
It sounds reasonable - reviewed.
Fixed in main trunk.
Fixed in release34 branch.
verified in [nb_release34_rc1](200207252340)
Resolved for 3.4.x or earlier, no new info since then -> closing.