db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject [PATCH] (DERBY-746) NullPointerException when 'encryptionKey' length is an odd number, or it contains invalid chars
Date Tue, 03 Jan 2006 15:19:49 GMT
Hello,

I just uploaded a patch for DERBY-746 
(http://issues.apache.org/jira/browse/DERBY-746). It would be nice if 
someone could spare the time to review it so it can be committed soon.

The patch fixes the problem of Derby failing with a NPE when the 
encryption key specified in the connection URL has either an odd length 
or contains invalid characters.

I asked about advice regarding addition of new SQLStates earlier, but 
got little response. So, I did it my way, and added two new states, one 
for each case. Only English messages are added.

I am open to reducing this to one if people think this is better. The 
names and messages can also be changed, ofcourse...


This is my first patch, and I welcome any pieces of advice related to 
the process of contributing :)




Thanks,
--
Kristian

Mime
View raw message