Java Code Examples for sun.reflect.ConstantPool#getDoubleAt()
The following examples show how to use
sun.reflect.ConstantPool#getDoubleAt() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AnnotationParser.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 2
Source File: AnnotationParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 3
Source File: AnnotationParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 4
Source File: AnnotationParser.java From java-n-IDE-for-Android with Apache License 2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 5
Source File: AnnotationParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 6
Source File: AnnotationParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 7
Source File: AnnotationParser.java From javaide with GNU General Public License v3.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 8
Source File: AnnotationParser.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 9
Source File: AnnotationParser.java From hottub with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 10
Source File: AnnotationParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 11
Source File: AnnotationParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 12
Source File: AnnotationParser.java From jdk8u_jdk with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 13
Source File: AnnotationParser.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }
Example 14
Source File: AnnotationParser.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 6 votes |
private static Object parseDoubleArray(int length, ByteBuffer buf, ConstantPool constPool) { double[] result = new double[length]; boolean typeMismatch = false; int tag = 0; for (int i = 0; i < length; i++) { tag = buf.get(); if (tag == 'D') { int index = buf.getShort() & 0xFFFF; result[i] = constPool.getDoubleAt(index); } else { skipMemberValue(tag, buf); typeMismatch = true; } } return typeMismatch ? exceptionProxy(tag) : result; }