author | prr |
Fri, 25 May 2018 12:12:24 -0700 | |
changeset 50347 | b2f046ae8eb6 |
parent 47216 | 71c04702a3d5 |
child 52147 | 435467bce14e |
permissions | -rw-r--r-- |
31723
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
1 |
#! /bin/sh |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
2 |
|
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
3 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
4 |
# Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
5 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
6 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
7 |
# This code is free software; you can redistribute it and/or modify it |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
8 |
# under the terms of the GNU General Public License version 2 only, as |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
9 |
# published by the Free Software Foundation. |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
10 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
15 |
# accompanied this code). |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
16 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
17 |
# You should have received a copy of the GNU General Public License version |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
20 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
22 |
# or visit www.oracle.com if you need additional information or have any |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
23 |
# questions. |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
24 |
# |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
25 |
|
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
26 |
javac -d . ../../../../make/src/classes/build/tools/spp/Spp.java > Spp.java |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
27 |
|
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
28 |
gen() { |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
29 |
java build.tools.spp.Spp -K$1 -Dtype=$1 -DType=$2 -DFulltype=$3<Order-X.java.template >Order$2.java |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
30 |
} |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
31 |
|
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
32 |
gen char Char Character |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
33 |
gen short Short Short |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
34 |
gen int Int Integer |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
35 |
gen long Long Long |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
36 |
gen float Float Float |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
37 |
gen double Double Double |
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
38 |
|
2e16a59cc5cb
8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
bpb
parents:
diff
changeset
|
39 |
rm -rf build |