[
https://issues.apache.org/jira/browse/DERBY-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794169#comment-13794169
]
Knut Anders Hatlen commented on DERBY-6239:
-------------------------------------------
Looks good to me. Some minor suggestions:
Maybe we should say "JDK 8 or higher" instead of just "JDK 8" in
rrefattribderegister and tdevdvlp20349.
In rrefattribderegister: "If you do not grant this permission when using a
security manager, an error message and stack trace will appear in derby.log on
shutdown." Perhaps append "and the embedded JDBC driver will stay registered"
here.
tdevdvlp20349 might be giving the impression that system shutdown will fail
without the permission when it says "you must grant ... in order to shut down
the system." Maybe we should weaken it and say something like "in order to
fully shut down the system" instead?
> Document optional permission SQLPermission("deregisterDriver")
> --------------------------------------------------------------
>
> Key: DERBY-6239
> URL: https://issues.apache.org/jira/browse/DERBY-6239
> Project: Derby
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 10.10.1.3, 10.11.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Kim Haase
> Attachments: DERBY-6239.diff, DERBY-6239.stat, DERBY-6239.zip
>
>
> See DERBY-6224.
> The documentation should mention the need for
> SQLPermission("deregisterDriver") during system shutdown on Java SE 8 and
> higher. The permission is only needed by derby.jar. It's an optional
> permission, only needed if system shutdown is invoked without the
> deregister=false attribute.
--
This message was sent by Atlassian JIRA
(v6.1#6144)