k-pet-group / BlueJ-Greenfoot

BlueJ and Greenfoot
Other
93 stars 31 forks source link

[BLUEJ-1265] 'Show source' does not work in Unit test results dialogue if the test class has an umlaut in the name #1239

Open neilccbrown opened 5 years ago

neilccbrown commented 5 years ago

'Show source' does not work in Unit test results dialogue if the test class has an umlaut in the name:

Source does not open. Debug log shows:

Error or exception for source not in project: /Users/mik/Desktop/workbox/dumm/KöllingTest.java


Issue metadata

neilccbrown commented 1 year ago

As I remember, the problem is to do with canonicalisation. The umlaut character is stored on disk with a different Unicode representation to the one in the class name. (One is the single o-umlaut character, the other is umlaut-prefix then o-character.) So we have to somehow canonicalise in order to know if they're the same.