Bug#1064191: openjdk-8: fails to install on i386 mantic, focal and jammy

Vladimir Petko vladimir.petko at canonical.com
Fri Mar 1 23:16:01 GMT 2024


Hi,

 Since launchpad builds are quite busy, I have done testing in mantic chroot.

Expected behaviour:
 - I can co-install i386 and amd64 openjdk-8 [done]
 - i386 will print the warning message when the accessibility provider
is not found
 - amd64 will throw an exception.
  I have updated /etc/java-8-openjdk/accessibility.properties to point
to a non-existent class.
----
public class Test {
   static java.awt.Toolkit tk = java.awt.Toolkit.getDefaultToolkit();
   public static void main(String[] args ) {
     System.out.println("Hello world");
   }
}
----
Using the above test file I have ran it with i386 openjdk-8:
$ /usr/lib/jvm/java-1.8.0-openjdk-i386/bin/java -cp . Test
Assistive Technology not found: org.GNOME.Accessibility.AtkWrapperFoo
Hello world
and amd64:
$ /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -cp . Test
Exception in thread "main" java.awt.AWTError: Assistive Technology not
found: org.GNOME.Accessibility.AtkWrapperFoo
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at Test.<clinit>(Test.java:2)

Conclusion: the patch works, Thank You!!!

Best Regards,
 Vladimir.

On Sat, Mar 2, 2024 at 11:55 AM Thorsten Glaser <tg at mirbsd.de> wrote:
>
> Dixi quod…
>
> >I’ll probably also throw it on Launchpad to test-build, then see
>
> It WFM, I can install both at the same time in a focal/amd64 chroot.
>
> >if it’s coïnstallable. But I would very much appreciate review
> >from your side.
>
> I’ll upload once the time_t-64 transition in Debian has progressed,
> to avoid a need for extra binNMUs.
>
> bye,
> //mirabilos
> --
> Solange man keine schmutzigen Tricks macht, und ich meine *wirklich*
> schmutzige Tricks, wie bei einer doppelt verketteten Liste beide
> Pointer XORen und in nur einem Word speichern, funktioniert Boehm ganz
> hervorragend.           -- Andreas Bogk über boehm-gc in d.a.s.r



More information about the pkg-java-maintainers mailing list