Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Throws when accessing to a private inner class in that method:
private void map(Map map, Method method) throws JSONException
May be pass when trying to access a private class. example source code should be:
private void map(Map map, Method method) throws JSONException { this.add("{"); ... while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); Object key = entry.getKey(); String expr = null; if (this.buildExpr) { try { if (key == null) { LOG.error("Cannot build expression for null key in " + this.exprStack); continue; } else { expr = this.expandExpr(key.toString()); if (this.shouldExcludeProperty(expr)) { continue; } expr = this.setExprStack(expr); } } catch (Exception ex) { LOG.error("Error: " + ex.getLocalizedMessage()); continue; } } if (hasData) { this.add(','); } ... this.add("}"); }
Attachments
Issue Links
- is related to
-
WW-5009 EmptyStackException in JSON plugin due to concurrency
- Closed
- links to
(1 links to)