737N/A/*
737N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
737N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
737N/A *
737N/A * This code is free software; you can redistribute it and/or modify it
737N/A * under the terms of the GNU General Public License version 2 only, as
737N/A * published by the Free Software Foundation.
737N/A *
737N/A * This code is distributed in the hope that it will be useful, but WITHOUT
737N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
737N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
737N/A * version 2 for more details (a copy is included in the LICENSE file that
737N/A * accompanied this code).
737N/A *
737N/A * You should have received a copy of the GNU General Public License version
737N/A * 2 along with this work; if not, write to the Free Software Foundation,
737N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
737N/A *
737N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
737N/A * or visit www.oracle.com if you need additional information or have any
737N/A * questions.
737N/A */
737N/A
737N/A/* @test
737N/A * @bug 6996626
737N/A * @summary Scope fix issues for ImportScope
737N/A * @compile pack1/Symbol.java
737N/A * @compile Main.java
737N/A */
737N/A
737N/Aimport pack1.*;
737N/Aimport pack1.Symbol.*;
737N/A
737N/A// The following imports are just to trigger re-hashing (in
737N/A// com.sun.tools.javac.code.Scope.dble()) of the star-import scope.
737N/Aimport java.io.*;
737N/Aimport java.net.*;
737N/Aimport java.util.*;
737N/A
737N/Apublic class Main {
737N/A public void main (String[] args) {
737N/A throw new CompletionFailure();
737N/A }
737N/A}
737N/A