bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/26012] Duplicate cryptogaphic code


From: david at jpackage dot org
Subject: [Bug crypto/26012] Duplicate cryptogaphic code
Date: 7 Apr 2006 11:34:18 -0000


------- Comment #2 from david at jpackage dot org  2006-04-07 11:34 -------
In general, (I have seen this in jarsigner, for example) code does not use the
public ``factory'' interfaces (MessageDigest.getInstance(),
KeeyAgreement.getInstance(), etc.) even when they are available and prefers to
import gnu.* classes directly. Whether this is wrong or not depends on the
project's policy, but I think one should prefer the public API's over the
internal ones. Maybe this is a separate issue, though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26012





reply via email to

[Prev in Thread] Current Thread [Next in Thread]