You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use of sun.misc.BASE64Encoder prevents the plugin to run on Java 9 #759
changed the title [-]Use of `sun.misc.BASE64Encoder` prevents the plugin to run on Java 9[/-][+]Use of sun.misc.BASE64Encoder prevents the plugin to run on Java 9[/+]on Jun 9, 2017
so i was locking for AndroidBuilder, but the only sources i found where still using some kind of SignedJarBuilder.
but i checked the code of them on the linked tools pages so see that they were updated some time in the past.
now i'm looking at what package of sdklib would have that update.
Activity
[-]Use of `sun.misc.BASE64Encoder` prevents the plugin to run on Java 9[/-][+]Use of sun.misc.BASE64Encoder prevents the plugin to run on Java 9[/+]henri-tremblay commentedon Jun 9, 2017
I also reported an Android bug: https://issuetracker.google.com/issues/62471410
mosabua commentedon Jul 14, 2017
Until the Android SDK itself supports Java 9 we wont be able to do anything anyway. Please reopen when that happens.
Hanmac commentedon Apr 16, 2022
@mosabua the google issue says
@henri-tremblay you said:
But #792 shows that this is still the case?
allentiak commentedon Apr 16, 2022
@mosabua said:
Maybe now is the time to reopen this?
Hanmac commentedon May 6, 2022
i did a bit of digging ... it seems they fixed that somewhere a few (9) years ago:
https://android.googlesource.com/platform/tools/build/+/480ed761ecf78336e0445f90b6d0797dde80ee67%5E%21/#F1
it was also renamed before/again.
https://android.googlesource.com/platform/tools/build/+/refs/heads/master/builder/src/main/java/com/android/builder/signing/SignedJarBuilder.java
now the part would be to try to find an sdklib with that change inside
it also got moved later from tools/build into tools/base
https://android.googlesource.com/platform/tools/base/+/44ec68cd14d3eb74137a941299861c64215f301b
https://android.googlesource.com/platform/tools/base/+/refs/heads/master/build-system/builder/src/main/java/com/android/builder/signing/SignedJarBuilder.java
allentiak commentedon May 6, 2022
Hannac said:
@Hanmac I'm a little bit lost here...
Would you be so kind to elaborate on the implications of this comment, please?
Hanmac commentedon May 6, 2022
they said that the old SignedJarBuilder was deprecated
i tried to found what the alternative would be.
i only found this: https://github.com/pixnet/android-platform-tools-base/blob/master/sdklib/src/main/java/com/android/sdklib/internal/build/SignedJarBuilder.java
probably a fork on github, saying
Use Android-Builder insteadso i was locking for AndroidBuilder, but the only sources i found where still using some kind of SignedJarBuilder.
but i checked the code of them on the linked tools pages so see that they were updated some time in the past.
now i'm looking at what package of sdklib would have that update.