Yesterday I found jdbc3-postgresql-8.1 is the only package in my system that depends on jdk-1.4, so I made this patch to allow compilation with jdk-1.{5,6} then use-flag 'java5' is enabled. Reproducible: Always
Created attachment 105763 [details, diff] jdbc3-postgresql-8.1_p404-r1.patch
Yesterday I just committed to portage tree jdbc-postgresql package that supports java5 USE flag so use jdbc-postgresql instead of jdbc3-postgresql which will be removed when jdbc-postgresql gets stable. Just one note to your patch. When building jdbc driver using jdk 1.5, it builds JDBC 3 driver whereas if using jdk 1.6, it builds JDBC 4 driver so you might get two different results from single USE flag depending just on what jdk you used to build the package. Anyway thank you for your patch and feel free to give us your feedback about new jdbc-postgresql package.