On 6/15/18 5:42 AM, Priya Lakshmi Muthuswamy wrote:
Hi,

Kindly review the fix for https://bugs.openjdk.java.net/browse/JDK-8187288
webrev: http://cr.openjdk.java.net/~pmuthuswamy/8187288/webrev.00/

Thanks,
Priya
This fix has the problem that you have an "inappropriate" import in the toolkit package for a class from the formats.html package.  The intended design is that
the toolkit packages are "format neutral" and do not depend on any specific
output format. Although we don't use that feature today, in the past it has been
used to generate alternate output files, like FrameMaker etc.

Although it need not be part of this work, we should revive the idea of having tests that verify that imports follow the intended constraints.  We did this with
some amount of scripting during the doclet conversion; I'll see what can be
done in a more formal manner.

-- Jon


Reply via email to