-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta2
-
sparc
-
solaris_8
This test can skew results of a JavaTest run of regression tests.
The test in question tests the automated loading of assistive technologies as initiated by the presense of a "accessibility.properties" file in the JRE directory. Classes named in this file are automatically loaded - in this case, the AutoLoad1 class.
AutoLoadTest places the "accessibility.properties" in the correct directory, but often fails to remove it. Every subsequent execution of the now "polluted" JRE will result in the following exception:
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: AutoLoad1
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:648)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:732)
at java.awt.Window.getToolkit(Window.java:636)
at java.awt.Window.init(Window.java:221)
at java.awt.Window.<init>(Window.java:250)
at java.awt.Frame.<init>(Frame.java:321)
at javasoft.sqe.javatest.tool.Startup.<init>(Startup.java:31)
at javasoft.sqe.javatest.regtest.Main.showTool(Main.java:256)
at javasoft.sqe.javatest.regtest.Main.go(Main.java:155)
at javasoft.sqe.javatest.Main.run(Main.java:109)
at javasoft.sqe.javatest.regtest.Main.main(Main.java:70)
This test needs to be fixed to ALWAYS, under EVERY circumstance, to remove the accessibility.properties file from the JRE.
The test in question tests the automated loading of assistive technologies as initiated by the presense of a "accessibility.properties" file in the JRE directory. Classes named in this file are automatically loaded - in this case, the AutoLoad1 class.
AutoLoadTest places the "accessibility.properties" in the correct directory, but often fails to remove it. Every subsequent execution of the now "polluted" JRE will result in the following exception:
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: AutoLoad1
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:648)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:732)
at java.awt.Window.getToolkit(Window.java:636)
at java.awt.Window.init(Window.java:221)
at java.awt.Window.<init>(Window.java:250)
at java.awt.Frame.<init>(Frame.java:321)
at javasoft.sqe.javatest.tool.Startup.<init>(Startup.java:31)
at javasoft.sqe.javatest.regtest.Main.showTool(Main.java:256)
at javasoft.sqe.javatest.regtest.Main.go(Main.java:155)
at javasoft.sqe.javatest.Main.run(Main.java:109)
at javasoft.sqe.javatest.regtest.Main.main(Main.java:70)
This test needs to be fixed to ALWAYS, under EVERY circumstance, to remove the accessibility.properties file from the JRE.