A
Andrew Thompson
Hiya all
Hey y'all.. how-y'alldoin'?
have a question,
Have a shift* key? Please apply it at the start of each sentence.
..anyone a wiz on java.net.URL??
Yes. (Not me, but certainly other people.)
<code>
try{
SectionsHash = new HashMap();
SectionsHash.put("Background", new java.net.URL("...URL...") );
...and many more rows...
}catch( ... ){
..something went wrong....
Exactly what do you do here? (Specifically)
<http://www.physci.org/codes/javafaq.jsp#stacktrace>
}
</code>
creating URLs that way and putting them into a hash with key works very well
on windows, while on linux it hangs the program for a minute sort of.
...Does that mean the program 'sort of' hangs, or whatever
happens takes 'sort of' a minute?
Anyone experienced the same??
Probably.
..What could be the reason??
Most likely your code*, then (ever so slightly possible) a
JVM implementation bug. But I'd put my money on the former.
* Please supply an SSCCE that displays this behaviour
<http://www.physci.org/codes/sscce.jsp>