JDK-7027599 : JSR 292 - compiler/6991596/Test6991596.java doesn't compile under JDK7 b132
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-15
  • Updated: 2012-02-01
  • Resolved: 2011-03-21
Related Reports
Duplicate :  
Description
Looks like NoAccessException is absent in java.dyn package in JDK b132. Maybe the test case should be fixed.

/export/local/common/testbase/jtreg/7-promotion/JT_HS/test/compiler/6991596/Test6991596.java:50: cannot find symbol
    static MethodHandle getmh1(Class ret, Class arg) throws NoAccessException {
                                                            ^
  symbol:   class NoAccessException
  location: class Test6991596
1 error
result: Failed. Compilation failed: exit code 1


test result: Failed. Compilation failed: exit code 1

Comments
EVALUATION We moved this testcase and Test6987555.java to the jdk repository as of 6839872 since we ran into problems executing the compiler tests when HSX was put into a JDK 6 image. 6839872 also fixed this issue.
21-03-2011