JDK-8236997 : tools/javac tests fail with --illegal-access=deny
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-13
  • Updated: 2023-09-23
  • Resolved: 2020-01-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b08Fixed
Related Reports
Duplicate :  
Description
I did a test run with --illegal-access=deny to identify tests that will need to be updated in advance of making this the default. There are many javac tests failing that will need attention:

tools/javac/DefiniteAssignment/T8204610.java
tools/javac/T7093325.java
tools/javac/T8222949/TestConstantDynamic.java
tools/javac/cast/intersection/IntersectionTypeCastTest.java
tools/javac/classwriter/ExtraAttributes.java
tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java
tools/javac/defaultMethods/super/TestDefaultSuperCall.java
tools/javac/failover/CheckAttributedTree.java
tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java
tools/javac/generics/inference/8176534/TestUncheckedCalls.java
tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java
tools/javac/lambda/FunctionalInterfaceConversionTest.java
tools/javac/lambda/LambdaParserTest.java
tools/javac/lambda/MethodReferenceParserTest.java
tools/javac/lambda/TestInvokeDynamic.java
tools/javac/lambda/TestLambdaToMethodStats.java
tools/javac/lambda/bytecode/TestLambdaBytecode.java
tools/javac/lambda/deduplication/ClassFieldDeduplication.java
tools/javac/lambda/mostSpecific/StructuralMostSpecificTest.java
tools/javac/lambda/typeInference/combo/TypeInferenceComboTest.java
tools/javac/multicatch/7030606/DisjunctiveTypeWellFormednessTest.java
tools/javac/multicatch/7030606/DisjunctiveTypeWellFormednessTest.java 	tier1
tools/javac/plugin/InternalAPI.java
tools/javac/resolve/BitWiseOperators.java
tools/javac/varargs/7042566/T7042566.java
tools/javac/varargs/warning/Warn4.java
tools/javac/varargs/warning/Warn5.java
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/e4fc1e578b3a User: jlahoda Date: 2020-01-28 08:21:31 +0000
28-01-2020