staxon icon indicating copy to clipboard operation
staxon copied to clipboard

Getting compilation error on Yylex constructor in JsonStreamFactoryImpl file

Open arindam0006in opened this issue 4 years ago • 1 comments

As the constructors are in default package level, these are not providing the access outside.

JsonStreamFactoryImpl.java has one method which is trying to access Yylex constructor and throwing compiler error:

@Override
public JsonStreamSource createJsonStreamSource(Reader reader) {
	return new JsonStreamSourceImpl(new Yylex(reader), false);
}

Please need your input here.

arindam0006in avatar Apr 07 '21 07:04 arindam0006in

Don‘t get your problem. Yylex is in the same package, isn‘t it?

beckchr avatar Apr 07 '21 15:04 beckchr