summaryrefslogtreecommitdiffhomepage
path: root/src/java
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-11-06 20:41:56 +0300
committerMax Romanov <max.romanov@nginx.com>2020-11-06 20:41:56 +0300
commit702e7bcc894adaac5f409a733eaf6fd2ab822f47 (patch)
tree802f7531e560954bd25ddc4cefe6debeb9a33d5b /src/java
parent78599f0d3f71953914880138fcfcdd929951fd07 (diff)
downloadunit-702e7bcc894adaac5f409a733eaf6fd2ab822f47.tar.gz
unit-702e7bcc894adaac5f409a733eaf6fd2ab822f47.tar.bz2
Java: fixing ClassGraph deprecated API call.
The issue (deprecated API warning) introduced by ClassGraph upgrade in ccd5c695b739 commit.
Diffstat (limited to 'src/java')
-rw-r--r--src/java/nginx/unit/Context.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/nginx/unit/Context.java b/src/java/nginx/unit/Context.java
index 5aa3a982..0197858b 100644
--- a/src/java/nginx/unit/Context.java
+++ b/src/java/nginx/unit/Context.java
@@ -443,7 +443,7 @@ public class Context implements ServletContext, InitParams
.enableClassInfo()
.enableAnnotationInfo()
//.enableSystemPackages()
- .whitelistModules("javax.*")
+ .acceptModules("javax.*")
//.enableAllInfo()
;