Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34343
| From | v_borchert@despammed.com (Volker Borchert) |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Funny error message |
| Date | 2016-05-18 19:44 +0000 |
| Organization | Private site at Eddersheim, Germany |
| Message-ID | <nhigmk$lfg$1@Gaia.teknon.de> (permalink) |
| References | <error-message-20160517022938@ram.dialup.fu-berlin.de> |
Stefan Ram wrote: > I am using javac with some additional tools, and I hope that > it was not one of those tools that has disorted the error > message, but here I see: > > Main.java:40: error: bad operand type String for unary operator '+++' > java.lang.System.out.println( + "" ); > ^ > 1 error > > Main.java:40: error: bad operand type String for unary operator '---' > java.lang.System.out.println( - "" ); > ^ > 1 error > > If you have the compiler sources: The error message seems to > be produced in javac\comp\Resolve.java, which might call > into javac\util\JCDiagnostic.java, but at this point, I > don't have the time to hunt down exactly where a '+' becomes > a '+++'. First thing I'd do would be to pipe above output through od -ax to uncover any nonprintable characters, in particular, backspace. -- "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed> "I'm a mechanic, not a doctor." Volker Borchert <v_borchert@despammed.com>
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: Funny error message v_borchert@despammed.com (Volker Borchert) - 2016-05-18 19:44 +0000
csiph-web