[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] [10] RFR 8078192: Path2D storage trimming
From:       Philip Race <philip.race () oracle ! com>
Date:       2017-04-20 22:17:52
Message-ID: 58F93390.3060302 () oracle ! com
[Download RAW message or body]

OK. Although we still need to wait for the CSR process.

-phil.

On 4/20/17, 3:05 PM, Laurent Bourgès wrote:
> Sorry (bad shortcut);
>
> Here is the fixed webrev:
> http://cr.openjdk.java.net/~lbourges/path2D/Path2D-8078192.3/ 
> <http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.3/>
>
> Laurent
>
> 2017-04-21 0:04 GMT+02:00 Laurent Bourgès <bourges.laurent@gmail.com 
> <mailto:bourges.laurent@gmail.com>>:
>
>     Sorry for the typo, I added also a newline before @since:
>
>
>     2017-04-20 23:04 GMT+02:00 Philip Race <philip.race@oracle.com
>     <mailto:philip.race@oracle.com>>:
>
>          You have a capital letter here and I think it must be lower
>         case ..
>
>
>         2499      * @Since 10
>
>         -phil.
>
>
>         On 4/20/17, 1:58 PM, Laurent Bourgès wrote:
>>         Hi Phil & Jim,
>>
>>         Here is the updated webrev:
>>         http://cr.openjdk.java.net/~lbourges/path2D/Path2D-8078192.2/
>>         <http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.2/>
>>
>>         Changes:
>>         - trimToSize() return void
>>         - fixed test + jtreg passed
>>
>>         Bye,
>>         Laurent
>>
>>         2017-04-20 21:30 GMT+02:00 Jim Graham
>>         <james.graham@oracle.com <mailto:james.graham@oracle.com>>:
>>
>>             Hi Laurent,
>>
>>             The implementation looks good, except that the method
>>             chaining-style return value seems out of place here. 
>>             Similar trimToSize() methods in Collections return void
>>             and none of the other methods in this area use the method
>>             chaining paradigm.  In the interest of maintaining a
>>             common design theme throughout 2D this method should just
>>             return void.
>>
>>                                     ...jim
>>
>>
>>             On 4/18/17 11:49 PM, Laurent Bourgès wrote:
>>
>>                 Hi,
>>
>>                 Here is a first attempt to propose a Path2D patch
>>                 (based on JDK10):
>>                 http://cr.openjdk.java.net/~lbourges/path2D/Path2D-8078192.0/
>>                 <http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.0/>
>>
>>                 JBS: https://bugs.openjdk.java.net/browse/JDK-8078192
>>                 <https://bugs.openjdk.java.net/browse/JDK-8078192>
>>
>>                 Please review the Path2D changes, notably the javadoc
>>                 (english) and the modified Path2DCopyConstructor test
>>                 which checks
>>                 all public Path2D methods on concrete classes
>>                 (Path2D.Float, Path2D.Double, GeneralPath) after
>>                 calling path.trimToSize()
>>
>>                 Cheers,
>>                 Laurent
>>
>>
>>
>>
>>         -- 
>>         -- 
>>         Laurent Bourgès
>
>
>
>
>     -- 
>     -- 
>     Laurent Bourgès
>
>
>
>
> -- 
> -- 
> Laurent Bourgès

[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    OK. Although we still need to wait for the CSR process.<br>
    <br>
    -phil.<br>
    <br>
    On 4/20/17, 3:05 PM, Laurent Bourgès wrote:
    <blockquote
cite="mid:CAKjRUT59yL-ACOm3tee-od4iCdyaPvndYmA9+4r+4sQYs8QABA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Sorry (bad shortcut);<br>
          <br>
          Here is the fixed webrev:<br>
          <a moz-do-not-send="true"
            href="http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.3/">http://cr.openjdk.java.net/~lbourges/path2D/Path2D-8078192.3/</a><br>
  <br>
        </div>
        Laurent<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-04-21 0:04 GMT+02:00 Laurent
          Bourgès <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bourges.laurent@gmail.com" \
target="_blank">bourges.laurent@gmail.com</a>&gt;</span>:<br>  <blockquote \
                class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Sorry for the typo, I added also a newline
              before @since:<br>
              <br>
            </div>
            <div class="gmail_extra">
              <div>
                <div class="h5"><br>
                  <div class="gmail_quote">2017-04-20 23:04 GMT+02:00
                    Philip Race <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:philip.race@oracle.com"
                        target="_blank">philip.race@oracle.com</a>&gt;</span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">   You have a
                        capital letter here and I think it must be lower
                        case ..<br>
                        <br>
                        <br>
                        2499           * @Since 10<br>
                        <br>
                        -phil.
                        <div>
                          <div class="m_2453146926484059732h5"><br>
                            <br>
                            On 4/20/17, 1:58 PM, Laurent Bourgès wrote:
                            <blockquote type="cite">
                              <div dir="ltr">
                                <div>
                                  <div>Hi Phil &amp; Jim,<br>
                                    <br>
                                  </div>
                                  Here is the updated webrev:<br>
                                  <a moz-do-not-send="true"
                                    \
                href="http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.2/"
                
                                    \
target="_blank">http://cr.openjdk.java.net/~lb<wbr>ourges/path2D/Path2D-8078192.<wbr>2/</a><br>
  <br>
                                </div>
                                <div>Changes:<br>
                                </div>
                                <div>- trimToSize() return void<br>
                                </div>
                                <div>- fixed test + jtreg passed<br>
                                </div>
                                <div><br>
                                </div>
                                <div>Bye,<br>
                                </div>
                                Laurent<br>
                                <div class="gmail_extra"><br>
                                  <div class="gmail_quote">2017-04-20
                                    21:30 GMT+02:00 Jim Graham <span
                                      dir="ltr">&lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:james.graham@oracle.com"
                                        \
target="_blank">james.graham@oracle.com</a>&gt;</span>:<br>  <blockquote \
class="gmail_quote"  style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex">Hi
                                      Laurent,<br>
                                      <br>
                                      The implementation looks good,
                                      except that the method
                                      chaining-style return value seems
                                      out of place here.   Similar
                                      trimToSize() methods in
                                      Collections return void and none
                                      of the other methods in this area
                                      use the method chaining paradigm.  
                                      In the interest of maintaining a
                                      common design theme throughout 2D
                                      this method should just return
                                      void.<span
                                        \
class="m_2453146926484059732m_-3829295938273823275HOEnZb"><font  color="#888888"><br>
                                          <br>
                                                                              \
...jim</font></span>  <div
                                        \
class="m_2453146926484059732m_-3829295938273823275HOEnZb">  <div
                                          \
class="m_2453146926484059732m_-3829295938273823275h5"><br>  <br>
                                          On 4/18/17 11:49 PM, Laurent
                                          Bourgès wrote:<br>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex"> Hi,<br>
                                            <br>
                                            Here is a first attempt to
                                            propose a Path2D patch
                                            (based on JDK10):<br>
                                            <a moz-do-not-send="true"
                                              \
href="http://cr.openjdk.java.net/%7Elbourges/path2D/Path2D-8078192.0/"  \
                rel="noreferrer"
                                              \
target="_blank">http://cr.openjdk.java.net/~lb<wbr>ourges/path2D/Path2D-8078192.0<wbr>/</a><br>
  <br>
                                            JBS: <a
                                              moz-do-not-send="true"
                                              \
href="https://bugs.openjdk.java.net/browse/JDK-8078192"  rel="noreferrer"
                                              \
target="_blank">https://bugs.openjdk.java.net/<wbr>browse/JDK-8078192</a><br>  <br>
                                            Please review the Path2D
                                            changes, notably the javadoc
                                            (english) and the modified
                                            Path2DCopyConstructor test
                                            which checks<br>
                                            all public Path2D methods on
                                            concrete classes
                                            (Path2D.Float,
                                            Path2D.Double, GeneralPath)
                                            after calling
                                            path.trimToSize()<br>
                                            <br>
                                            Cheers,<br>
                                            Laurent<br>
                                          </blockquote>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <br clear="all">
                                  <br>
                                  -- <br>
                                  <div
                                    \
class="m_2453146926484059732m_-3829295938273823275gmail_signature"  \
data-smartmail="gmail_signature">--  <br>
                                    Laurent Bourgès</div>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <br>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888">-- <br>
                  <div class="m_2453146926484059732gmail_signature"
                    data-smartmail="gmail_signature">-- <br>
                    Laurent Bourgès</div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">--
          <br>
          Laurent Bourgès</div>
      </div>
    </blockquote>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic