Skip to content

remove functionality of Checker.setClassLoader and TreeWalker.setClassLoader #3773

@romani

Description

@romani

Problem is detected at #3750 .

functionality of Checker.setClassLoader and TreeWalker.setClassLoader should be completely removed from as it is required only for deprecated approach of class loading in deprecated JavadocMethodCheck implementation.

we can not remove it earlier:

  • it is causing validation problems at JavadocMethodCheck (failed UTs)
  • it is used by eclipse-cs and maven plugin

So it is chekcstyle8 fix.

We can not easily re-implement JavadocMethodCheck due to non implemneted http://checkstyle.sourceforge.net/writingjavadocchecks.html#Boolean_flag_indicating_the_presence_of_unclosed_HTML_tags
without this flag we will never pass regression testing.

Methods will be completely removed once maven-checkstyle-plugin stops its usage of it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions