JDK-8043030 : Fix JUnit compilation error
  • Type: Bug
  • Component: deploy
  • Affected Version: 9
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-05-13
  • Updated: 2014-07-29
  • Resolved: 2014-05-13
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 JDK 9
8u20Fixed 9 b15Fixed
Description
make test on OSX now fails with:
    [javac] /Users/daved/Development/jdk9-client/deploy/test/shared/sun/tests/helpers/SecurityHelpers.java:23: error: cannot find symbol
    [javac] import com.sun.deploy.security.ruleset.DRSParts;
    [javac]                                       ^
    [javac]   symbol:   class DRSParts
    [javac]   location: package com.sun.deploy.security.ruleset
    [javac] /Users/daved/Development/jdk9-client/deploy/test/shared/sun/tests/helpers/SecurityHelpers.java:60: error: cannot find symbol
    [javac]                     drsHelper = new DRSHelper(DRSParts.TOP + DRSParts.BOT);
    [javac]                                               ^
    [javac]   symbol:   variable DRSParts
    [javac]   location: class SecurityHelpers
    [javac] /Users/daved/Development/jdk9-client/deploy/test/shared/sun/tests/helpers/SecurityHelpers.java:60: error: cannot find symbol
    [javac]                     drsHelper = new DRSHelper(DRSParts.TOP + DRSParts.BOT);
    [javac]                                                              ^
    [javac]   symbol:   variable DRSParts
    [javac]   location: class SecurityHelpers