On Sat, 10 Apr 2021 11:23:42 GMT, Dmitry Bessonov <dbess...@openjdk.org> wrote:

>> I guess I have done what is being asked. Are there any other comments? If 
>> not, can this PR and CSR be approved please?
>
> So as per the updated version of the specification - what could be checked is 
> that the resulting inner/outer/highlight/shadow colors should be either:
>  - equal to the passed
>  - ::brighter() than the passed
>  - darker() than the passed
>  ?

Yes, the passed highlight and shadow color to the constructor would be equal to 
getHighlightInnerColor(), getShadowOuterColor but again this is for our jdk 
implementation. As told in the JBS, these are implementation details which 
should hold true if JDK's BevelBorder class is in use 
but some other JDK can override the class and can give its own implementation 
as the class is not 'final'.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3305

Reply via email to