author | jwilhelm |
Thu, 14 Sep 2017 22:57:36 +0200 | |
changeset 47425 | 96179f26139e |
permissions | -rw-r--r-- |
47425
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
1 |
# ################ Filter for ObjectInputStream ############################# |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
2 |
com.sun.management.jmxremote.serial.filter.pattern=!DefaultAgentFilterTest$ThisTypeIsNotUsed |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
3 |
# A filter, if configured, is used by java.io.ObjectInputStream during |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
4 |
# deserialization of parameters sent to the JMX default agent to validate the |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
5 |
# contents of the stream. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
6 |
# A filter is configured as a sequence of patterns, each pattern is either |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
7 |
# matched against the name of a class in the stream or defines a limit. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
8 |
# Patterns are separated by ";" (semicolon). |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
9 |
# Whitespace is significant and is considered part of the pattern. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
10 |
# |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
11 |
# If a pattern includes a "=", it sets a limit. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
12 |
# If a limit appears more than once the last value is used. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
13 |
# Limits are checked before classes regardless of the order in the sequence of patterns. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
14 |
# If any of the limits are exceeded, the filter status is REJECTED. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
15 |
# |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
16 |
# maxdepth=value - the maximum depth of a graph |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
17 |
# maxrefs=value - the maximum number of internal references |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
18 |
# maxbytes=value - the maximum number of bytes in the input stream |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
19 |
# maxarray=value - the maximum array length allowed |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
20 |
# |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
21 |
# Other patterns, from left to right, match the class or package name as |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
22 |
# returned from Class.getName. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
23 |
# If the class is an array type, the class or package to be matched is the element type. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
24 |
# Arrays of any number of dimensions are treated the same as the element type. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
25 |
# For example, a pattern of "!example.Foo", rejects creation of any instance or |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
26 |
# array of example.Foo. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
27 |
# |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
28 |
# If the pattern starts with "!", the status is REJECTED if the remaining pattern |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
29 |
# is matched; otherwise the status is ALLOWED if the pattern matches. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
30 |
# If the pattern contains "/", the non-empty prefix up to the "/" is the module name; |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
31 |
# if the module name matches the module name of the class then |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
32 |
# the remaining pattern is matched with the class name. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
33 |
# If there is no "/", the module name is not compared. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
34 |
# If the pattern ends with ".**" it matches any class in the package and all subpackages. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
35 |
# If the pattern ends with ".*" it matches any class in the package. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
36 |
# If the pattern ends with "*", it matches any class with the pattern as a prefix. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
37 |
# If the pattern is equal to the class name, it matches. |
96179f26139e
8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents:
diff
changeset
|
38 |
# Otherwise, the status is UNDECIDED. |