< prev index next >

test/hotspot/jtreg/runtime/LoaderConstraints/common/C.jasm

Print this page
rev 49800 : 8199852: Print more information about class loaders in LinkageErrors.
Reviewed-by: dholmes

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, 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.

@@ -24,10 +24,12 @@
 // If this file was written in java then some of the tests would fail during
 // compilation with errors such as:
 //   class C inherits unrelated defaults for m() from types I and J
 //   C is not abstract and does not override abstract method m() in I
 
+package test;
+
 super public class C implements I, J version 52:0 {
 
     public Method "<init>":"()V" stack 1 locals 1 {
         aload_0;
         invokespecial    Method java/lang/Object."<init>":"()V";
< prev index next >