JDK-8006163 : compact3: non applicable tests
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-01-13
  • Updated: 2014-12-16
  • Resolved: 2013-10-01
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 8
8Fixed
Related Reports
Relates :  
Description
The following tests cases are not applicable to compact3 profile, in there current form, and
should be excluded or updated. Sub-tasks may be filed to update individual tests.

# Test with static dependencies outside copact3 (swing, awt, beans,...)
tools/javac/api/TestEvalExpression.java
tools/javac/BadOptimization/DeadCode6.java
tools/javac/DefiniteAssignment/DefAssignNestedArg.java
tools/javac/failover/CheckAttributedTree.java
tools/javac/FinalInitializer.java
tools/javac/generics/inference/5073060/GenericsAndPackages.java
tools/javac/InnerMethSig.java
tools/javac/tree/TreePosTest.java

# Test depending on direct access to sun.tools.jar.Main
tools/javac/Paths/TestCompileJARInClassPath.java
tools/javac/plugin/showtype/Test.java

# reflection beyond compact3
tools/javac/processing/6414633/T6414633.java

# expect more classes than what's in compact3
tools/javac/processing/model/testgetallmembers/Main.java

# dependency on  lib/ext/dnsns.jar
tools/javac/T6558476.java

# javadoc tool doesn't	work through API. This should work since the way the compiler is supported is
# to add tool.jar from the jdk. With the extension of the tools api, to provide access to the javadoc
# tool, this approach exposed javadoc. However, there is no explicit requirement to support javadoc.
tools/javadoc/api/basic/GetTask_FileManagerTest.java

# Test must be excluded or make correct use of profile jar attribute.
tools/javac/Paths/Class-Path.sh



Comments
These are already exluded by those who run langtools/test for profiles: "I've [taken] a look at tests mentioned in bugs. All of them [are] excluded (seems for profiles which are not applicable) or passed in test cycle of b107. Roman."
01-10-2013

I'm unclear if the tools/javac tests can be handled using the main jdk/test/TEST.groups or whether they need their own group file. But javac tests should only be run against a full JDK.
16-09-2013