src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/InstructionFinder.java
changeset 55496 8e0ae3830fca
parent 48409 5ab69533994b
equal deleted inserted replaced
55495:badfa812b82a 55496:8e0ae3830fca
     1 /*
     1 /*
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
     3  */
     3  */
     4 /*
     4 /*
     5  * Licensed to the Apache Software Foundation (ASF) under one or more
     5  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * contributor license agreements.  See the NOTICE file distributed with
     6  * contributor license agreements.  See the NOTICE file distributed with
     7  * this work for additional information regarding copyright ownership.
     7  * this work for additional information regarding copyright ownership.
    60  *   }
    60  *   }
    61  *
    61  *
    62  *
    62  *
    63  * </pre>
    63  * </pre>
    64  *
    64  *
    65  * @version $Id: InstructionFinder.java 1749603 2016-06-21 20:50:19Z ggregory $
    65  * @version $Id$
    66  * @see com.sun.org.apache.bcel.internal.generic.Instruction
    66  * @see com.sun.org.apache.bcel.internal.generic.Instruction
    67  * @see InstructionList
    67  * @see InstructionList
    68  * @LastModified: Oct 2017
    68  * @LastModified: Jun 2019
    69  */
    69  */
    70 public class InstructionFinder {
    70 public class InstructionFinder {
    71 
    71 
    72     private static final int OFFSET = 32767; // char + OFFSET is outside of LATIN-1
    72     private static final int OFFSET = 32767; // char + OFFSET is outside of LATIN-1
    73     private static final int NO_OPCODES = 256; // Potential number, some are not used
    73     private static final int NO_OPCODES = 256; // Potential number, some are not used