Java Banned Classes List

By default, OverOps only examines and displays your code while ignoring classes such as Proxy classes, Mock classes, and others.

The following is a list of class patterns that are ignored (banned) out-of-the-box.

đŸ“˜

Latest Update

This list has been updated to the OverOps Java Micro-Agent release 4.44.11.

Java-Generated Proxies

	com/sun/proxy/$Proxy
	sun/proxy/$Proxy
	sun/reflect/Generated
	Proxy
	$Proxy

Note that there are proxies that reside in the user's package, but have a standard $Proxy prefix to their simple class name.

System/internal Java Classes that Interface with Low-level Components

	sun/misc/Signal
	sun/misc/SignalHandler

Miscellaneous Java Classes

	java.io
	java.lang
	java.math
	java.net
	java.nio
	java.security
	java.sql
	java.text
	java.util

Groovy-generated Classes

	script
	Script

JRuby Classes

	rubyjit$

Play 1.x Template Classes

	Template.

Play Closure Classes

	$_run_closure

JBoss AOP and Proxies

	org/jboss/aop/generatedproxies/AOPProxy$
	$Proxy$_$$_Weld

Javassist Classes

	_$$_javassist_
	_$$_jvst

cglib (used by Spring AOP, Mockito...)

	CGLIB$$

Google Guice-generated Classes

	ByGuice$$

JAXB-generated Bridge

	$JaxbAccessor

JSP-generated Classes

	$$$view

JSP Tag Classes

	org/apache/jsp/tag/

New Relic Instrumentation Helpers and Wrappers

	com/nr/agent/
	com/newrelic/agent

IntelliJ Groovy HotSwap

	org/groovy/debug/hotswap

Java's Method Handle (LambdaForm)

	java/lang/invoke/LambdaForm$

MVEL2 Accessor Classes

	ASMAccessorImpl.

IBM J9 Internal Class

	java/lang/J9VMInternals

Apache Harmony Class

	org/apache/harmony/kernel/vm/VM

Sisu - Guice-generated Classes
Classes with the following in their names:

	_sisu

Closure Auto Generated Classes
Classes with the following in their name:

	_closure

Rhino-Generated Classes

	org/mozilla/javascript/gen