LSPosed / AndroidHiddenApiBypass

LSPass: Bypass restrictions on non-SDK interfaces
Apache License 2.0
1.65k stars 298 forks source link

why use "var" to define variable #22

Closed bay0max closed 2 years ago

bay0max commented 2 years ago

image isn't it a Java library?

Howard20181 commented 2 years ago

@bay0max https://www.google.com/search?q=java+var+keyword

yujincheng08 commented 2 years ago

https://openjdk.org/jeps/286

canyie commented 2 years ago

Why don't you try to compile it?

bay0max commented 2 years ago

my bad,not familiar with java. But AndroidStudio can't recognize var key word

Howard20181 commented 2 years ago

You should upgrade your jdk

canyie commented 2 years ago

Set sourceCompatibility and targetCompatibility to JAVA_VERSION_11

bay0max commented 2 years ago

Thanks a lot. I will try.