unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#41177: [PATCH 0/2] OpenJDK: Fix NullPointerException when accessing fonts
       [not found] <20210212001405.48cabc72@alma-ubu.fritz.box>
@ 2021-02-12 10:52 ` Leo Prikler
  2021-02-12 19:59   ` Björn Höfling
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2021-02-12 10:52 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 46451-done, 41177-done

Hi Björn

Am Freitag, den 12.02.2021, 00:14 +0100 schrieb Björn Höfling:
> These two patches fix a NullPointerException in the OpenJDK packages.
> 
> The patches apply only to OpenJDK9 and OpenJDK11, but with
> inheritence
> all OpenJDKx with x\in[9..14] are covered.
> 
> Here is the bug report:
> 
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41177
> 
> In order to test it you can use the following Main.java:
> 
> ~~~~~~
> import java.awt.*;
> 
> public class Main {
> 
>     public static void main(String[] args)
>     {
>         String fonts[] =
>             GraphicsEnvironment.getLocalGraphicsEnvironment().getAvai
> lableFontFamilyNames();
> 
>         for ( int i = 0; i < fonts.length; i++ )
> 	    {
> 		System.out.println(fonts[i]);
> 	    }
>     }
> }
> 
> ~~~~~~~~
> Compile: javac Main.java
> Run: java -cp . Main
> 
> It should print a list of the available fonts.
Indeed, that it does.  At least for 9 and 11, which I've invoked
directly from their store paths.

I've pushed your patches with small changes to the commit messages and
followed up with an indentation fix.

Regards,
Leo





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#41177: [PATCH 0/2] OpenJDK: Fix NullPointerException when accessing fonts
  2021-02-12 10:52 ` bug#41177: [PATCH 0/2] OpenJDK: Fix NullPointerException when accessing fonts Leo Prikler
@ 2021-02-12 19:59   ` Björn Höfling
  0 siblings, 0 replies; 2+ messages in thread
From: Björn Höfling @ 2021-02-12 19:59 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 46451-done, 41177-done

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

On Fri, 12 Feb 2021 11:52:50 +0100
Leo Prikler <leo.prikler@student.tugraz.at> wrote:

> I've pushed your patches with small changes to the commit messages and
> followed up with an indentation fix.

Thanks! 

Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-12 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210212001405.48cabc72@alma-ubu.fritz.box>
2021-02-12 10:52 ` bug#41177: [PATCH 0/2] OpenJDK: Fix NullPointerException when accessing fonts Leo Prikler
2021-02-12 19:59   ` Björn Höfling

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git