Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4059258

email addresses are embedded in java class source code

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      generic
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Description

      Several core classes in the jdk have email addresses embedded
       within the source code.
      The email address should be removed (perhaps properties). Here
      are several instances of the problem...

      src/share/java/java/io/InputStreamReader.java:

          private void malfunction() {
              throw new InternalError("Converter malfunction (" +
                                      btc.getCharacterEncoding() +
                                      ") -- please send a bug report to" +
                                      " ###@###.###");
          }



      src/share/java/java/security/KeyPairGenerator.java:

          public static KeyPairGenerator getInstance(String algorithm)
          throws NoSuchAlgorithmException {
              try {
                  return (KeyPairGenerator)Security.getImpl(algorithm,
                                                            "KeyPairGenerator",
                                                            null);
              } catch(NoSuchProviderException e) {
                  throw new InternalError("please send a bug report " +
                                          "to ###@###.###");
              }
          }



      src/share/java/java/security/MessageDigest.java:

          public static MessageDigest getInstance(String algorithm)
          throws NoSuchAlgorithmException {
              try {
                  return (MessageDigest)Security.getImpl(algorithm,
                                                         "MessageDigest", null);
              } catch(NoSuchProviderException e) {
                  throw new InternalError("please send a bug report to " +
                                          "###@###.###");
              }
          }



      src/share/java/java/security/Signature.java:

          public static Signature getInstance(String algorithm)
          throws NoSuchAlgorithmException {
              try {
                  return (Signature)Security.getImpl(algorithm, "Signature", null);
              } catch(NoSuchProviderException e) {
                  throw new InternalError("please send a bug report to " +
                                          "###@###.###");
              }
          }



      src/share/sun/sun/security/provider/Main.java:

          boolean internalError(String msg) {
              err.println("Internal error! " + msg);
              err.println("please send mail to ###@###.###.");
              if (quitOnError) {
                  System.exit(1);
              }
              return false;
          }

        Attachments

          Activity

            People

            Assignee:
            mr Mark Reinhold
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: