<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    It is possible to use Xcode 12 on macOS14.<br>
    Our internal build system manages to make this work.<br>
    Don't ask me for the details, because I don't know them very well.<br>
    I think you may have to create a (free) Apple developer a/c to be
    able to get the<br>
    older Xcodes. That's step 1.<br>
    <br>
    But you are going to have to find a way because currently there is
    no other solution.<br>
    At least none I can think of.<br>
    <br>
    And no, it is nothing to do with deprecation.<br>
    <br>
    -phil.<br>
    <br>
    <div class="moz-cite-prefix">On 10/30/23 7:07 AM, Asif Ikram wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAO9See5tiy5Lu9=9J6NXyhn0Jwm5MTLmYMc1Kz3OfDkEzeTp9w@mail.gmail.com">
      
      <div dir="ltr">
        <div>Dear Philip</div>
        <div><br>
        </div>
        <div>Thanks for your response and directions. </div>
        <div><br>
        </div>
        <div>I guess it is not possible to use Xcode 12.x on MacOS14,
          because it asks for the latest version of Xcode. </div>
        <div><br>
        </div>
        <div>I used the OpenJDk20 binary and OpenJDK21 binary to create
          the build from OpenJDK21+35 source code, but I'm still facing
          the same problem with my build.</div>
        <div>Is it MacOS14 and ist AppKit causing the issue? Apple has
          deprecated some native methods in MacOS14. </div>
        <div><a href="https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14" moz-do-not-send="true" class="moz-txt-link-freetext">https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14</a><br>
        </div>
        <div><br>
        </div>
        <div>best regards </div>
        <div><br>
        </div>
        <div>Asif </div>
        <div><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sat, Oct 28, 2023 at
            1:20 AM Philip Race <<a href="mailto:philip.race@oracle.com" moz-do-not-send="true" class="moz-txt-link-freetext">philip.race@oracle.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div> This is due you using a newer compiler than the
              "official" one used by OpenJDK for JDK21<br>
              We will have a fix to silence it for JDK 22, but that
              won't help your JDK 21 build.<br>
              You'll need to use Xcode 12.x instead of whatever you are
              using.<br>
              <br>
              -phil.<br>
              <br>
              <div>On 10/24/23 9:57 AM, Asif Ikram wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div><br>
                  </div>
                  Dear Team 
                  <div><br>
                  </div>
                  <div>Can you please help me with this? </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><b>2023-10-24 12:16:57.027 java[97952:198365]
                      WARNING: Secure coding is automatically enabled
                      for restorable state! However, not on all
                      supported macOS versions of this application.
                      Opt-in to secure coding explicitly by implementing
NSApplicationDelegate.applicationSupportsSecureRestorableState:.</b></div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>I have created OpenJDK 21+35 Build on MacOS 14
                    Sonoma. </div>
                  <div>I am not able to complete a few AWT tests in
                    JCK21 (JT Harness Runtime).  </div>
                  <div><br>
                  </div>
                  <div>Best regards </div>
                  <font color="#888888">
                    <div>Asif </div>
                  </font></div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>