Javadoc fails on BOM

  • Thread starter netnews.comcast.net
  • Start date
N

netnews.comcast.net

Hello,

I'm getting errors when running Javadoc on a file with a UTF-8 BOM (EF BB
BF). The error looks something like this:

TypedInterfaceGenerator.java:1: 'class' or 'interface' expected
???/////////////////////////////////////////////////////////////////////////
///
^
TypedInterfaceGenerator.java:1: illegal character: \187
???/////////////////////////////////////////////////////////////////////////
///
^
TypedInterfaceGenerator.java:1: illegal character: \191
???/////////////////////////////////////////////////////////////////////////
///
^
TypedInterfaceGenerator.java:12: 'class' or 'interface' expected

I've tried the options "-encoding UTF8" and "-encoding UTF-8." But none of
these options helped.

Anyone with an idea? I can't even find the source code for Javadoc.exe
itself, so I have no idea what it's doing.

Thanks,
Van
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top