0N/A * @test /nodynamiccopyright/ 0N/A * @bug 4094658 4277296 4785453 0N/A * @summary Test enforcement of JLS 6.6.1 and 6.6.2 rules requiring that 0N/A * the type to which a component member belongs be accessible in qualified 0N/A // Inaccessible types in member declarations. 0N/A // These exercise 'Env.resolve'. 0N/A // Errors are localized poorly. 0N/A // Fields 'P3' and 'P5' are inaccessible. 0N/A // Inaccessible types in local variable declarations. 0N/A // These exercise 'FieldExpression.checkCommon'. 0N/A // Fields 'P3' and 'P5' are inaccessible. 0N/A // Inaccessible types in casts. 0N/A // These exercise 'FieldExpression.checkCommon'. 0N/A // Fields 'P3' and 'P5' are inaccessible. 0N/A // Inaccessible types in 'instanceof' expressions. 0N/A // These exercise 'FieldExpression.checkCommon'. 0N/A // Fields 'P3' and 'P5' are inaccessible.