[mobile] [golang/go#59803] update minimal javac version to 1.8

4 views
Skip to first unread message

Gerrit Bot (Gerrit)

unread,
Apr 25, 2023, 7:46:24 AM4/25/23
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Gerrit Bot has uploaded this change for review.

View Change

[golang/go#59803] update minimal javac version to 1.8

This might fix the issue.

Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
GitHub-Last-Rev: 16824065cc67baaf81f7ba014101dbb651376516
GitHub-Pull-Request: golang/mobile#91
---
M cmd/gomobile/bind_androidapp.go
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/gomobile/bind_androidapp.go b/cmd/gomobile/bind_androidapp.go
index 3fa9cfa..f8fcabe 100644
--- a/cmd/gomobile/bind_androidapp.go
+++ b/cmd/gomobile/bind_androidapp.go
@@ -245,7 +245,7 @@
}

const (
- javacTargetVer = "1.7"
+ javacTargetVer = "1.8"
minAndroidAPI = 16
)


To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: mobile
Gerrit-Branch: master
Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
Gerrit-Change-Number: 488555
Gerrit-PatchSet: 1
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>

Gopher Robot (Gerrit)

unread,
Apr 25, 2023, 7:47:23 AM4/25/23
to Gerrit Bot, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Congratulations on opening your first change. Thank you for your contribution!

Next steps:
A maintainer will review your change and provide feedback. See
https://go.dev/doc/contribute#review for more info and tips to get your
patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be
surprising to people new to the project. The careful, iterative review process
is our way of helping mentor contributors and ensuring that their contributions
have a lasting impact.

View Change

    To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
    Gerrit-Change-Number: 488555
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Comment-Date: Tue, 25 Apr 2023 11:47:18 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No

    Hajime Hoshi (Gerrit)

    unread,
    May 29, 2023, 3:02:27 AM5/29/23
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Hyang-Ah Hana Kim, Gopher Robot, golang-co...@googlegroups.com

    Attention is currently required from: Dmitri Shuralyov, Hyang-Ah Hana Kim.

    Patch set 1:Run-TryBot +1Code-Review +2

    View Change

    1 comment:

    • Patchset:

    To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
    Gerrit-Change-Number: 488555
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Mon, 29 May 2023 07:02:21 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Hajime Hoshi (Gerrit)

    unread,
    May 29, 2023, 3:09:06 AM5/29/23
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

    Attention is currently required from: Dmitri Shuralyov, Hyang-Ah Hana Kim.

    View Change

    2 comments:

    To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
    Gerrit-Change-Number: 488555
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Mon, 29 May 2023 07:09:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Hajime Hoshi (Gerrit)

    unread,
    May 29, 2023, 3:09:44 AM5/29/23
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

    Attention is currently required from: Dmitri Shuralyov, Hyang-Ah Hana Kim.

    View Change

    1 comment:

    To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: mobile
    Gerrit-Branch: master
    Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
    Gerrit-Change-Number: 488555
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Mon, 29 May 2023 07:09:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Hajime Hoshi (Gerrit)

    unread,
    May 29, 2023, 3:10:31 AM5/29/23
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

    Attention is currently required from: Dmitri Shuralyov, Hyang-Ah Hana Kim.

    Patch set 1:Code-Review +1

    View Change

      To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: mobile
      Gerrit-Branch: master
      Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
      Gerrit-Change-Number: 488555
      Gerrit-PatchSet: 1
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
      Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
      Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Comment-Date: Mon, 29 May 2023 07:10:27 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes

      Hajime Hoshi (Gerrit)

      unread,
      May 29, 2023, 3:10:43 AM5/29/23
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

      Attention is currently required from: Dmitri Shuralyov, Hyang-Ah Hana Kim.

      Patch set 1:-Code-Review

      View Change

        To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: comment
        Gerrit-Project: mobile
        Gerrit-Branch: master
        Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        Gerrit-Change-Number: 488555
        Gerrit-PatchSet: 1
        Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
        Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-Reviewer: Gopher Robot <go...@golang.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
        Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Comment-Date: Mon, 29 May 2023 07:10:38 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes

        Gerrit Bot (Gerrit)

        unread,
        May 31, 2023, 6:22:22 AM5/31/23
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

        Attention is currently required from: Dmitri Shuralyov, Hajime Hoshi, Hyang-Ah Hana Kim.

        Gerrit Bot uploaded patch set #2 to this change.

        View Change

        The following approvals got outdated and were removed: Run-TryBot+1 by Hajime Hoshi, TryBot-Result-1 by Gopher Robot

        [golang/go#59803] update minimal javac version to 1.8

        This might fix the issue.

        Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        GitHub-Last-Rev: 4bd774d66b4549d7cdccb7c3b9ad483893bbd6e7
        GitHub-Pull-Request: golang/mobile#91
        ---
        M cmd/gomobile/bind.go
        M cmd/gomobile/bind_androidapp.go
        M cmd/gomobile/bind_test.go
        M cmd/gomobile/gendex.go
        4 files changed, 5 insertions(+), 5 deletions(-)

        To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: newpatchset
        Gerrit-Project: mobile
        Gerrit-Branch: master
        Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        Gerrit-Change-Number: 488555
        Gerrit-PatchSet: 2
        Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
        Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-Reviewer: Gopher Robot <go...@golang.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
        Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Attention: Hajime Hoshi <hajim...@gmail.com>

        Gerrit Bot (Gerrit)

        unread,
        May 31, 2023, 6:34:23 AM5/31/23
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

        Attention is currently required from: Dmitri Shuralyov, Hajime Hoshi, Hyang-Ah Hana Kim.

        Gerrit Bot uploaded patch set #3 to this change.

        View Change

        [golang/go#59803] update minimal javac version to 1.8


        This might fix the issue.

        Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        GitHub-Last-Rev: 35c69fe9ceb69b8b5d2144bee234011e3116b992

        GitHub-Pull-Request: golang/mobile#91
        ---
        M cmd/gomobile/bind.go
        M cmd/gomobile/bind_androidapp.go
        M cmd/gomobile/bind_test.go
        M cmd/gomobile/gendex.go
        4 files changed, 5 insertions(+), 5 deletions(-)

        To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: newpatchset
        Gerrit-Project: mobile
        Gerrit-Branch: master
        Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        Gerrit-Change-Number: 488555
        Gerrit-PatchSet: 3

        Gerrit Bot (Gerrit)

        unread,
        May 31, 2023, 6:40:28 AM5/31/23
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

        Attention is currently required from: Dmitri Shuralyov, Hajime Hoshi, Hyang-Ah Hana Kim.

        Gerrit Bot uploaded patch set #4 to this change.

        View Change

        cmd/gomobile: update minimal javac version to 1.8

        Fixes golang/go#59803

        Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        GitHub-Last-Rev: c61def7df008265555efa24ef27d262d7fd9b644

        GitHub-Pull-Request: golang/mobile#91
        ---
        M cmd/gomobile/bind.go
        M cmd/gomobile/bind_androidapp.go
        M cmd/gomobile/bind_test.go
        M cmd/gomobile/gendex.go
        4 files changed, 5 insertions(+), 5 deletions(-)

        To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: newpatchset
        Gerrit-Project: mobile
        Gerrit-Branch: master
        Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        Gerrit-Change-Number: 488555
        Gerrit-PatchSet: 4

        Gerrit Bot (Gerrit)

        unread,
        May 31, 2023, 6:46:31 AM5/31/23
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

        Attention is currently required from: Dmitri Shuralyov, Hajime Hoshi, Hyang-Ah Hana Kim.

        Gerrit Bot uploaded patch set #5 to this change.

        View Change

        cmd/gomobile: upgrade minimal javac version to 1.8


        Fixes golang/go#59803

        Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        GitHub-Last-Rev: c61def7df008265555efa24ef27d262d7fd9b644
        GitHub-Pull-Request: golang/mobile#91
        ---
        M cmd/gomobile/bind.go
        M cmd/gomobile/bind_androidapp.go
        M cmd/gomobile/bind_test.go
        M cmd/gomobile/gendex.go
        4 files changed, 5 insertions(+), 5 deletions(-)

        To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: newpatchset
        Gerrit-Project: mobile
        Gerrit-Branch: master
        Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
        Gerrit-Change-Number: 488555
        Gerrit-PatchSet: 5

        Dmitri Shuralyov (Gerrit)

        unread,
        May 31, 2023, 10:57:43 AM5/31/23
        to Gerrit Bot, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Gopher Robot, Hajime Hoshi, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

        Attention is currently required from: Hajime Hoshi, Hyang-Ah Hana Kim.

        Patch set 5:Run-TryBot +1

        View Change

          To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-MessageType: comment
          Gerrit-Project: mobile
          Gerrit-Branch: master
          Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
          Gerrit-Change-Number: 488555
          Gerrit-PatchSet: 5
          Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
          Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
          Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
          Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
          Gerrit-Attention: Hajime Hoshi <hajim...@gmail.com>
          Gerrit-Comment-Date: Wed, 31 May 2023 14:57:40 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes

          Hajime Hoshi (Gerrit)

          unread,
          May 31, 2023, 11:28:51 AM5/31/23
          to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

          Attention is currently required from: Hyang-Ah Hana Kim.

          Patch set 5:Code-Review +2

          View Change

            To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-MessageType: comment
            Gerrit-Project: mobile
            Gerrit-Branch: master
            Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
            Gerrit-Change-Number: 488555
            Gerrit-PatchSet: 5
            Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
            Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Comment-Date: Wed, 31 May 2023 15:28:44 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes

            Dmitri Shuralyov (Gerrit)

            unread,
            May 31, 2023, 11:28:53 AM5/31/23
            to Gerrit Bot, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Hajime Hoshi, Gopher Robot, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

            Attention is currently required from: Hyang-Ah Hana Kim.

            Patch set 5:Auto-Submit +1Code-Review +2

            View Change

            1 comment:

            To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-MessageType: comment
            Gerrit-Project: mobile
            Gerrit-Branch: master
            Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
            Gerrit-Change-Number: 488555
            Gerrit-PatchSet: 5
            Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
            Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
            Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Comment-Date: Wed, 31 May 2023 15:28:50 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes

            Dmitri Shuralyov (Gerrit)

            unread,
            May 31, 2023, 11:29:03 AM5/31/23
            to Gerrit Bot, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Hajime Hoshi, Gopher Robot, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

            Attention is currently required from: Hyang-Ah Hana Kim.

            Patch set 5:Code-Review +1

            View Change

              To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-MessageType: comment
              Gerrit-Project: mobile
              Gerrit-Branch: master
              Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
              Gerrit-Change-Number: 488555
              Gerrit-PatchSet: 5
              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
              Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
              Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
              Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
              Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Comment-Date: Wed, 31 May 2023 15:28:59 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes

              Dmitri Shuralyov (Gerrit)

              unread,
              May 31, 2023, 11:30:56 AM5/31/23
              to Gerrit Bot, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Dmitri Shuralyov, Hajime Hoshi, Gopher Robot, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

              Attention is currently required from: Hyang-Ah Hana Kim.

              View Change

              2 comments:

                • Add this line […]

                  Done. (#59803 seems like the right one.)

              To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-MessageType: comment
              Gerrit-Project: mobile
              Gerrit-Branch: master
              Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
              Gerrit-Change-Number: 488555
              Gerrit-PatchSet: 5
              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
              Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
              Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
              Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
              Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Comment-Date: Wed, 31 May 2023 15:30:53 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Hajime Hoshi <hajim...@gmail.com>

              Hyang-Ah Hana Kim (Gerrit)

              unread,
              May 31, 2023, 1:31:20 PM5/31/23
              to Gerrit Bot, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Dmitri Shuralyov, Dmitri Shuralyov, Hajime Hoshi, Gopher Robot, golang-co...@googlegroups.com

              Patch set 5:Code-Review +1

              View Change

                To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-MessageType: comment
                Gerrit-Project: mobile
                Gerrit-Branch: master
                Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
                Gerrit-Change-Number: 488555
                Gerrit-PatchSet: 5
                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                Gerrit-Reviewer: Hajime Hoshi <hajim...@gmail.com>
                Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Comment-Date: Wed, 31 May 2023 17:31:17 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes

                Gopher Robot (Gerrit)

                unread,
                May 31, 2023, 1:31:41 PM5/31/23
                to Gerrit Bot, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Hyang-Ah Hana Kim, Dmitri Shuralyov, Dmitri Shuralyov, Hajime Hoshi, golang-co...@googlegroups.com

                Gopher Robot submitted this change.

                View Change

                Approvals: Dmitri Shuralyov: Looks good to me, but someone else must approve Dmitri Shuralyov: Looks good to me, approved; Run TryBots; Automatically submit change Hajime Hoshi: Looks good to me, approved Gopher Robot: TryBots succeeded Hyang-Ah Hana Kim: Looks good to me, but someone else must approve
                cmd/gomobile: upgrade minimal javac version to 1.8

                Fixes golang/go#59803

                Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
                GitHub-Last-Rev: c61def7df008265555efa24ef27d262d7fd9b644
                GitHub-Pull-Request: golang/mobile#91
                Reviewed-on: https://go-review.googlesource.com/c/mobile/+/488555
                TryBot-Result: Gopher Robot <go...@golang.org>
                Reviewed-by: Hyang-Ah Hana Kim <hya...@gmail.com>
                Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
                Reviewed-by: Dmitri Shuralyov <dmit...@golang.org>
                Reviewed-by: Hajime Hoshi <hajim...@gmail.com>
                Auto-Submit: Dmitri Shuralyov <dmit...@golang.org>
                Run-TryBot: Dmitri Shuralyov <dmit...@golang.org>

                ---
                M cmd/gomobile/bind.go
                M cmd/gomobile/bind_androidapp.go
                M cmd/gomobile/bind_test.go
                M cmd/gomobile/gendex.go
                4 files changed, 5 insertions(+), 5 deletions(-)

                
                
                diff --git a/cmd/gomobile/bind.go b/cmd/gomobile/bind.go
                index 54eaa4b..11b4062 100644
                --- a/cmd/gomobile/bind.go
                +++ b/cmd/gomobile/bind.go
                @@ -44,7 +44,7 @@
                the module import wizard (File > New > New Module > Import .JAR or
                .AAR package), and setting it as a new dependency
                (File > Project Structure > Dependencies). This requires 'javac'
                -(version 1.7+) and Android SDK (API level 16 or newer) to build the
                +(version 1.8+) and Android SDK (API level 16 or newer) to build the
                library for Android. The ANDROID_HOME and ANDROID_NDK_HOME environment
                variables can be used to specify the Android SDK and NDK if they are
                not in the default locations. Use the -javapkg flag to specify the Java

                diff --git a/cmd/gomobile/bind_androidapp.go b/cmd/gomobile/bind_androidapp.go
                index 3fa9cfa..f8fcabe 100644
                --- a/cmd/gomobile/bind_androidapp.go
                +++ b/cmd/gomobile/bind_androidapp.go
                @@ -245,7 +245,7 @@
                }

                const (
                - javacTargetVer = "1.7"
                + javacTargetVer = "1.8"
                minAndroidAPI = 16
                )

                diff --git a/cmd/gomobile/bind_test.go b/cmd/gomobile/bind_test.go
                index fa6b0ef..22a88d5 100644
                --- a/cmd/gomobile/bind_test.go
                +++ b/cmd/gomobile/bind_test.go
                @@ -190,7 +190,7 @@
                mkdir -p $WORK/src-android-arm
                PWD=$WORK/src-android-arm GOMODCACHE=$GOPATH/pkg/mod GOOS=android GOARCH=arm CC=$NDK_PATH/toolchains/llvm/prebuilt/{{.NDKARCH}}/bin/armv7a-linux-androideabi16-clang CXX=$NDK_PATH/toolchains/llvm/prebuilt/{{.NDKARCH}}/bin/armv7a-linux-androideabi16-clang++ CGO_ENABLED=1 GOARM=7 GOPATH=$WORK:$GOPATH go mod tidy
                PWD=$WORK/src-android-arm GOMODCACHE=$GOPATH/pkg/mod GOOS=android GOARCH=arm CC=$NDK_PATH/toolchains/llvm/prebuilt/{{.NDKARCH}}/bin/armv7a-linux-androideabi16-clang CXX=$NDK_PATH/toolchains/llvm/prebuilt/{{.NDKARCH}}/bin/armv7a-linux-androideabi16-clang++ CGO_ENABLED=1 GOARM=7 GOPATH=$WORK:$GOPATH go build -x -buildmode=c-shared -o=$WORK/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind
                -PWD=$WORK/java javac -d $WORK/javac-output -source 1.7 -target 1.7 -bootclasspath {{.AndroidPlatform}}/android.jar *.java
                +PWD=$WORK/java javac -d $WORK/javac-output -source 1.8 -target 1.8 -bootclasspath {{.AndroidPlatform}}/android.jar *.java
                jar c -C $WORK/javac-output .
                `))

                diff --git a/cmd/gomobile/gendex.go b/cmd/gomobile/gendex.go
                index 88cf554..bfc2ad7 100644
                --- a/cmd/gomobile/gendex.go
                +++ b/cmd/gomobile/gendex.go
                @@ -74,8 +74,8 @@
                }
                cmd := exec.Command(
                "javac",
                - "-source", "1.7",
                - "-target", "1.7",
                + "-source", "1.8",
                + "-target", "1.8",
                "-bootclasspath", platform+"/android.jar",
                "-d", tmpdir+"/work",
                )

                To view, visit change 488555. To unsubscribe, or for help writing mail filters, visit settings.

                Gerrit-MessageType: merged
                Gerrit-Project: mobile
                Gerrit-Branch: master
                Gerrit-Change-Id: I248ab312eedf091bbfd6ebf35c8990fbdf611fbc
                Gerrit-Change-Number: 488555
                Gerrit-PatchSet: 6
                Reply all
                Reply to author
                Forward
                0 new messages