This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java.net.URLDecoder doesn't follow spec.


I was compiling some existing code and found a problem with
java.net.URLDecoder.decode

According to the sun jdk1.3 javadocs java.net.URLDecoder.decode should
not throw an Exception.

The libjava version does.

I think decode needs to catch any exception and throw some runtime
exceptions accordingly.


Helping to make gcj better.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]