Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEXバージョン040でメソッド名に空白を許可 #1055

Open
hkurokawa opened this issue Oct 4, 2019 · 0 comments
Open

DEXバージョン040でメソッド名に空白を許可 #1055

hkurokawa opened this issue Oct 4, 2019 · 0 comments
Milestone

Comments

@hkurokawa
Copy link

The next version of the dex format (40) should allow spaces in method names (and other names). Notably, for Kotlin users, this will enable the use of spaces in test method names which run on Android devices (but only on API 30+, or whatever).https://t.co/pMiGwDtm4T

— Jake Wharton (@JakeWharton) October 4, 2019
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

いままではDEXのフォーマットのメソッド名に空白は許されなかったのですが、新しいバージョンでは許されるようです。ツイートにもあるとおり、実機テストで実行するテストメソッドに空白がつかえて、すこし便利かもしれません。

なお、公式ドキュメントにも記載があるようです。
https://source.android.com/devices/tech/dalvik/dex-format#simplename

@hkurokawa hkurokawa added this to the 88 2019-10-06 milestone Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant