Article View: borland.public.jbuilder.java.language
Article #756JBuilder Bug Accessing java.security
From: Matthew Preston
Date: Tue, 09 Nov 2004 19:13
Date: Tue, 09 Nov 2004 19:13
51 lines
2262 bytes
2262 bytes
It appears there may be a bug in JBuilder 2005 Developer when accessing the
java.security.KeyPairGenerator class. Below is the file that causes the
problem. As soon as I click below the KeyPairGenerator line, the entire
builder locks up using 50% + of the CPU utilization. Left it to run for
several minutes, and it still never returns. And actually the first time it
occurred was when I typed:
java.security.KeyPairGenerator.getInstance(
So it appears to be some type of problem with the java.security package to
me. Using JDK 1.4 that came with JBuilder for target as well as code rules.
Any suggestions? Can anyone else reproduce this problem with 2005?
Thanks,
Matt
package com.test.executables;
import javax.crypto.*;
import java.security.*;
public class GenerateKeys {
long seed;
public GenerateKeys(long seed) {
this.seed = seed;
}
public void execute() throws Exception {
java.security.KeyPairGenerator.getInstance(128,"CyrptixCrypto");
}
public static void main(String[] args) {
long seed = System.currentTimeMillis();
if(args.length > 0)
seed = Long.parseLong(args[0]);
GenerateKeys generateKeys = new GenerateKeys(seed);
try {
generateKeys.execute();
} catch(Exception exception) {
}
}
}
Technical Details
Message-ID:
<4191172c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f74b3,9190cb522d58803b,start X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Matthew Preston" <mcpres@mcpres.com> Newsgroups: borland.public.jbuilder.java.language Subject: JBuilder Bug Accessing java.security Date: Tue, 9 Nov 2004 14:13:57 -0500 Lines: 59 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 67.85.251.224 Message-ID: <4191172c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100027692 67.85.251.224 (9 Nov 2004 11:14:52 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail