Parent Directory | Revision Log | Patch
revision 1.2 by tjl, Sat Oct 19 15:04:10 2002 UTC | revision 1.3 by benja, Thu Nov 21 23:50:17 2002 UTC | |
---|---|---|
# | Line 61 public class URN5Namespace { | Line 61 public class URN5Namespace { |
61 | namespace = ""; | namespace = ""; |
62 | ||
63 | for(int i=0; i<NAMESPACECHARS; i++) { | for(int i=0; i<NAMESPACECHARS; i++) { |
64 | int x=sr.nextInt(64); | int x, n=0; |
65 | if (x<0) x=-x; // step around a bug(?) in kaffe | do { |
66 | x = sr.nextInt(64); | |
67 | n++; | |
68 | if(n > 1000) | |
69 | throw new Error("ARGH!"); | |
70 | } while(x < 0 || x > 64); // step around a bug(?) in kaffe | |
71 | namespace = namespace + base64.charAt(x); | namespace = namespace + base64.charAt(x); |
72 | } | } |
73 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |