Changes between Initial Version and Version 1 of Ticket #8606, comment 8


Ignore:
Timestamp:
2013-04-17T02:33:51+02:00 (13 years ago)
Author:
Don-vip

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8606, comment 8

    initial v1  
    1818I first thought about modifying this variable using Java reflection, but it is not allowed for static final variables.
    1919
    20 I have a working solution (to reproduce the problem and simulate Web Start behaviour, it is enough add {{{System.out.println(HttpURLConnection.userAgent);}}} as the first instruction run by JOSM in its main method), but it is ugly as hell.
     20I have a working solution (to reproduce the problem and simulate Web Start behaviour, it is enough to add {{{System.out.println(HttpURLConnection.userAgent);}}} as the first instruction run by JOSM in its main method), but it is ugly as hell.
    2121
    2222Not sure if there's a simpler and cleaner fix.