Ah yes

scala> val test = new java.net.URL("hdfs://test.jar")
java.net.MalformedURLException: unknown protocol: hdfs
	at java.net.URL.<init>(URL.java:574)

I thought java.net.URL accepts custom scheme =(
Agree about messed up naming usage. 

+1 

Thanks for the explanation! =)