< prev index next >

test/valhalla/mvt/MVTTest.java

Print this page

        

@@ -2,13 +2,11 @@
  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
+ * published by the Free Software Foundation.
  *
  * This code is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * version 2 for more details (a copy is included in the LICENSE file that

@@ -59,16 +57,11 @@
     static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
 
     static final MethodHandle PRINT_POINT;
 
     static {
-        try {
             DVT = MinimalValueTypes_1_0.getValueTypeClass(Point.class);
-        }
-        catch (ClassNotFoundException e) {
-            throw new RuntimeException(e);
-        }
 
         Field[] fs = Point.class.getFields();
 
         FIELD_TYPES = new Class<?>[fs.length];
         FIELD_NAMES = new String[fs.length];
< prev index next >