'java.lang.String' has no method

Andrew John Hughes ahughes@redhat.com
Tue Mar 30 18:31:00 GMT 2010


On 13:00 Tue 30 Mar , Keith wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> I was using java.net.NetworkInterface.getHardwareAddress() to get the
> MAC address. Work around is a JNI call (currently Windows only).<br>
> <br>

Ok, we'll need to look at a more general solution for that.
> I was using ResourceBundle.keySet() and ResourceBundle.containsKey()<br>

Ok, thanks. I'll try and look at adding these, but can't promise when.
Thanks for the information. BTW, can you please send mails in plain text format. This one was pretty hard to read.
> <br>
> HTH,<br>
> <br>
> Keith<br>
> <br>
> Andrew John Hughes wrote:
> <blockquote
> cite="mid:17c6771e1003260954q21babf04v1f4f22139c692d94@mail.gmail.com"
> type="cite">
> <pre wrap="">On 26 March 2010 16:51, Keith <a
> class="moz-txt-link-rfc2396E" href="mailto:keith@rhsdplanning.com"><keith@rhsdplanning.com></a> wrote:
> </pre>
> <blockquote type="cite">
> <pre wrap="">Does libgcj-4.4.0.jar support Java 1.6?</pre>
> </blockquote>
> <pre wrap=""><!---->
> It supports bits of it:
>> <a class="moz-txt-link-freetext"
> href="http://builder.classpath.org/japi/openjdk6-libgcj.html">http://builder.classpath.org/japi/openjdk6-libgcj.html</a>
>> And yes, there are known holes in java.net and ResourceBundle. I've
> looked at implementing them a couple of times, but not yet got round
> to it.
>> Knowing which methods should be prioritised for implementation (i.e.
> because people actually use them in real-world code) would be very
> useful. And patches even more so!</pre>
> </blockquote>
> </body>
> </html>
>
Cheers,
-- 
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /