Missing shebang on sample script

Rob McKenna rob.mckenna at oracle.com
Tue Nov 8 19:28:22 UTC 2016


Thanks Tiago,

I've filed https://bugs.openjdk.java.net/browse/JDK-8169424.

	-Rob

On 06/11/16 04:44, Tiago Daitx wrote:
> The file openjdk/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
> is missing a shebang.
> 
> This happens on both OpenJDK 7 and 8.
> 
> --- openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh.orig
> +++ openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
> @@ -1,3 +1,4 @@
> +#!/bin/sh
>  #
>  # Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
>  #
> 
> --- openjdk8/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh.orig
> +++ openjdk8/jdk/src/share/sample/scripting/scriptpad/src/scripts/memory.sh
> @@ -1,3 +1,4 @@
> +#!/bin/sh
>  #
>  # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
>  #
> 
> 
> Note: I'm a participant, not a contributor.
> 
> Regards,
> 
> -- 
> Tiago Stürmer Daitx
> Software Engineer
> tiago.daitx at canonical.com
> 
> PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com)
> Fingerprint = 45D0 FE5A 8109 1E91 866E  8CA4 1931 8D5E F5B2 13BE


More information about the jdk8u-dev mailing list