See <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/906/display/redirect?page=changes>
Changes: [rwhitcomb] PIVOT-999: Remove the really unnecessary "putInt" and "putBoolean" methods from Dictionary and Component.StyleDictionary, because the default "put" method (with autoboxing) is perfectly able to handle those values. Add a default "copy" method to the Dictionary interface to copy a key/value pair from another dictionary. Also add the "Style" overload of this method to Component.StyleDictionary for completeness. [rwhitcomb] Add an image name parameter to ImageUtils.findByName to make error message more explicit. So, change all the callers. In addition, change some places that could use this method that were not previously using it. ------------------------------------------ [...truncated 345 B...] Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/.> to depth infinity with ignoreExternals: false Updating http://svn.apache.org/repos/asf/pivot/jenkins at revision '2018-02-06T22:15:00.300 +0000' At revision 1823401 Reverting <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk> to depth infinity with ignoreExternals: false Updating http://svn.apache.org/repos/asf/pivot/trunk at revision '2018-02-06T22:15:00.300 +0000' U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraMenuSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraAlertSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraListButtonSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraLinkButtonSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraMenuBarSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraActivityIndicatorSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraMenuButtonSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCheckboxSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraListViewSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraColorChooserSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java U wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin.java U charts/src/org/apache/pivot/charts/ChartView.java U charts/src/org/apache/pivot/charts/ChartViewCategoryListener.java U charts/src/org/apache/pivot/charts/ChartViewListener.java U charts/src/org/apache/pivot/charts/ChartViewSeriesListener.java U tutorials/www/tutorial.css U tutorials/www/tutorial_print.css U tutorials/xsl/tutorial.xsl U tutorials/src/org/apache/pivot/tutorials/clipboard/clipboard.js A core/src/org/apache/pivot/annotations A core/src/org/apache/pivot/annotations/UnsupportedOperation.java U core/src/org/apache/pivot/util/VoteResult.java U core/src/org/apache/pivot/util/ImageUtils.java U core/src/org/apache/pivot/collections/Dictionary.java U core/test/org/apache/pivot/collections/test/DictionaryTest.java U tutorials-server/src/org/apache/pivot/tutorials/webqueries/server/expenses.csv U build.xml U tests/src/org/apache/pivot/tests/result_list_test.sql U tests/src/org/apache/pivot/tests/CalendarTest.java U tests/src/org/apache/pivot/tests/clipboard.js U tests/src/org/apache/pivot/tests/javascript_console_test.js U tests/src/org/apache/pivot/tests/utilities_script.js U tests/src/org/apache/pivot/tests/scripts_diagnostic_messages.js U wtk/src/org/apache/pivot/wtk/Border.java U wtk/src/org/apache/pivot/wtk/CalendarListener.java U wtk/src/org/apache/pivot/wtk/RollupListener.java U wtk/src/org/apache/pivot/wtk/SliderListener.java U wtk/src/org/apache/pivot/wtk/Expander.java U wtk/src/org/apache/pivot/wtk/AccordionListener.java U wtk/src/org/apache/pivot/wtk/BorderListener.java U wtk/src/org/apache/pivot/wtk/ScrollBarValueListener.java U wtk/src/org/apache/pivot/wtk/FillPane.java U wtk/src/org/apache/pivot/wtk/FormAttributeListener.java U wtk/src/org/apache/pivot/wtk/MenuButton.java U wtk/src/org/apache/pivot/wtk/text/ImageNode.java U wtk/src/org/apache/pivot/wtk/Window.java U wtk/src/org/apache/pivot/wtk/VFSBrowserListener.java U wtk/src/org/apache/pivot/wtk/content/TableViewNumberCellRenderer.java U wtk/src/org/apache/pivot/wtk/content/TableViewMultiCellRenderer.java U wtk/src/org/apache/pivot/wtk/content/NumericSpinnerData.java U wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java U wtk/src/org/apache/pivot/wtk/content/BaseContent.java U wtk/src/org/apache/pivot/wtk/content/ButtonDataRenderer.java U wtk/src/org/apache/pivot/wtk/content/ColorItem.java U wtk/src/org/apache/pivot/wtk/content/LinkButtonDataRenderer.java U wtk/src/org/apache/pivot/wtk/content/TableViewImageCellRenderer.java U wtk/src/org/apache/pivot/wtk/content/TreeBranch.java U wtk/src/org/apache/pivot/wtk/SuggestionPopupItemListener.java U wtk/src/org/apache/pivot/wtk/FileBrowserSheet.java U wtk/src/org/apache/pivot/wtk/MenuPopupStateListener.java U wtk/src/org/apache/pivot/wtk/SplitPane.java U wtk/src/org/apache/pivot/wtk/Component.java U wtk/src/org/apache/pivot/wtk/CalendarButton.java U wtk/src/org/apache/pivot/wtk/MenuListener.java U wtk/src/org/apache/pivot/wtk/CalendarBindingListener.java U wtk/src/org/apache/pivot/wtk/LabelBindingListener.java U wtk/src/org/apache/pivot/wtk/MeterListener.java U wtk/src/org/apache/pivot/wtk/SliderValueListener.java U wtk/src/org/apache/pivot/wtk/TablePane.java U wtk/src/org/apache/pivot/wtk/SplitPaneListener.java U wtk/src/org/apache/pivot/wtk/CalendarButtonListener.java U wtk/src/org/apache/pivot/wtk/ImageView.java U wtk/src/org/apache/pivot/wtk/Label.java U wtk/src/org/apache/pivot/wtk/RollupStateListener.java U wtk/src/org/apache/pivot/wtk/TablePaneAttributeListener.java U wtk/src/org/apache/pivot/wtk/effects/Transition.java U wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java U wtk/src/org/apache/pivot/wtk/TablePaneListener.java U wtk/src/org/apache/pivot/wtk/ImageViewBindingListener.java U wtk/src/org/apache/pivot/wtk/MovieViewListener.java U wtk/src/org/apache/pivot/wtk/SuggestionPopupStateListener.java U wtk/src/org/apache/pivot/wtk/ImageViewListener.java U wtk/src/org/apache/pivot/wtk/LabelListener.java U wtk/src/org/apache/pivot/wtk/ActivityIndicator.java U wtk/src/org/apache/pivot/wtk/AccordionAttributeListener.java U wtk/src/org/apache/pivot/wtk/FrameListener.java U wtk/src/org/apache/pivot/wtk/AccordionSelectionListener.java U wtk/src/org/apache/pivot/wtk/Slider.java U wtk/src/org/apache/pivot/wtk/ScrollBar.java U wtk/src/org/apache/pivot/wtk/MenuPopupListener.java U wtk/src/org/apache/pivot/wtk/MenuItemSelectionListener.java U wtk/src/org/apache/pivot/wtk/ActivityIndicatorListener.java U wtk/src/org/apache/pivot/wtk/ScrollBarListener.java U wtk/src/org/apache/pivot/wtk/VFSBrowser.java U wtk/src/org/apache/pivot/wtk/Form.java U wtk/src/org/apache/pivot/wtk/SuggestionPopupCloseListener.java U wtk/src/org/apache/pivot/wtk/FormListener.java U wtk/src/org/apache/pivot/wtk/SuggestionPopup.java U wtk/src/org/apache/pivot/wtk/ExpanderListener.java U wtk/src/org/apache/pivot/wtk/GridPane.java U wtk/src/org/apache/pivot/wtk/FillPaneListener.java U wtk/src/org/apache/pivot/wtk/Menu.java U wtk/src/org/apache/pivot/wtk/MenuButtonListener.java U wtk/src/org/apache/pivot/wtk/Meter.java U wtk/src/org/apache/pivot/wtk/SuggestionPopupListener.java U wtk/src/org/apache/pivot/wtk/Prompt.java U wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java U wtk/src/org/apache/pivot/wtk/skin/FillPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/MenuButtonSkin.java U wtk/src/org/apache/pivot/wtk/skin/CalendarButtonSkin.java U wtk/src/org/apache/pivot/wtk/skin/WindowSkin.java U wtk/src/org/apache/pivot/wtk/skin/StackPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java U wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/BorderSkin.java U wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java U wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java U wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java U wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/GridPaneSkin.java U wtk/src/org/apache/pivot/wtk/skin/BoxPaneSkin.java U wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java U wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java U wtk/src/org/apache/pivot/wtk/GridPaneListener.java U wtk/src/org/apache/pivot/wtk/validation/ComparableRangeValidator.java U wtk/src/org/apache/pivot/wtk/validation/FormattedValidator.java U wtk/src/org/apache/pivot/wtk/FileBrowserSheetListener.java U wtk/src/org/apache/pivot/wtk/PromptListener.java U wtk/src/org/apache/pivot/wtk/MenuBar.java U wtk/src/org/apache/pivot/wtk/VFSBrowserSheetListener.java U wtk/src/org/apache/pivot/wtk/CalendarButtonBindingListener.java U wtk/src/org/apache/pivot/wtk/MovieView.java U wtk/src/org/apache/pivot/wtk/Frame.java U wtk/src/org/apache/pivot/wtk/media/BufferedImageSerializer.java U wtk/src/org/apache/pivot/wtk/media/Drawing.java U wtk/src/org/apache/pivot/wtk/media/Picture.java U wtk/src/org/apache/pivot/wtk/MenuBarListener.java U wtk/src/org/apache/pivot/wtk/CalendarSelectionListener.java U wtk/src/org/apache/pivot/wtk/MenuPopup.java U wtk/src/org/apache/pivot/wtk/Calendar.java U wtk/src/org/apache/pivot/wtk/Rollup.java U wtk/src/org/apache/pivot/wtk/CalendarButtonSelectionListener.java U wtk/src/org/apache/pivot/wtk/Accordion.java U demos/www/demo_print.css U demos/xsl/demo.jnlp.xsl U demos/xsl/demo.html.xsl U demos/src/org/apache/pivot/demos/xml/xml_viewer.js U demos/src/org/apache/pivot/demos/json/json_viewer.js U examples/src/org/apache/pivot/examples/sheets/SheetSlideDirectionWindow.java At revision 1823401 No changes for http://svn.apache.org/repos/asf/pivot/jenkins since the previous build [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [Pivot-trunk on Java 8] $ /home/jenkins/tools/ant/latest/bin/ant check clean package test doc deploy package-tests package-sources package-javadoc Buildfile: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/build.xml> help: [echo] Running on Jenkins? true [echo] Using Classpath: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/charsets.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/deploy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/localedata.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/nashorn.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunec.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/zipfs.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/javaws.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jce.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jfr.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jfxswt.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jsse.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/management-agent.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/plugin.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/resources.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/rt.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/limited/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/limited/local_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/unlimited/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/unlimited/local_policy.jar check: [echo] Using CLASSPATH=<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/hamcrest-core-1.3.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/junit-4.12.jar>:<https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/ci-builds-on-jenkins/lib/maven-ant-tasks-2.1.3.jar>:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/charsets.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/deploy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/cldrdata.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/dnsns.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/jaccess.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/localedata.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/nashorn.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunec.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunjce_provider.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/sunpkcs11.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/ext/zipfs.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/javaws.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jce.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jfr.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jfxswt.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/jsse.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/management-agent.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/plugin.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/resources.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/rt.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/limited/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/limited/local_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/unlimited/US_export_policy.jar:/usr/local/asfpackages/java/jdk1.8.0_152/jre/lib/security/policy/unlimited/local_policy.jar clean: [delete] Deleting directory <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/lib> environment-info: [echo] [echo] Apache Ant(TM) version 1.10.1 compiled on February 2 2017 [echo] Compile environment for pivot_build_by_jenkins-2.1.0 is: [echo] show deprecation true [echo] debug true [echo] source 1.8, target 1.8 [echo] encoding UTF-8 [echo] indexJars true [echo] arg -Xlint [echo] [echo] OS: Linux, version 4.4.0-43-generic, architecture amd64 [echo] [echo] Java: home at '/usr/local/asfpackages/java/jdk1.8.0_152/jre', version 1.8.0_152, vendor Oracle Corporation [echo] core: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/core/ant-bin> [javac] Compiling 176 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/core/ant-bin> wtk: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk/ant-bin> [javac] Compiling 436 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk/ant-bin> charts: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/charts/ant-bin> [javac] Compiling 26 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/charts/ant-bin> wtk-terra: [mkdir] Created dir: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/ant-bin> [javac] Compiling 55 source files to <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/ant-bin> [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraColorChooserSkin.java>:396: error: cannot find symbol [javac] tablePane.getStyles().putInt("horizontalSpacing", spacing); [javac] ^ [javac] symbol: method putInt(String,int) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraMenuButtonSkin.java>:597: error: cannot find symbol [javac] menuPopup.getStyles().putInt("closeTransitionDuration", closeTransitionDuration); [javac] ^ [javac] symbol: method putInt(String,int) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraMenuButtonSkin.java>:607: error: cannot find symbol [javac] menuPopup.getStyles().putInt("closeTransitionRate", closeTransitionRate); [javac] ^ [javac] symbol: method putInt(String,int) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java>:185: error: cannot find symbol [javac] listView.getStyles().putBoolean("variableItemHeight", true); [javac] ^ [javac] symbol: method putBoolean(String,boolean) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java>:192: error: cannot find symbol [javac] listViewPanorama.getStyles().putBoolean("alwaysShowScrollButtons", true); [javac] ^ [javac] symbol: method putBoolean(String,boolean) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTabPaneSkin.java>:607: error: cannot find symbol [javac] tabButtonPanorama.getStyles().putInt("buttonPadding", 6); [javac] ^ [javac] symbol: method putInt(String,int) [javac] location: class Component.StyleDictionary [javac] <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTabPaneSkin.java>:1343: error: cannot find symbol [javac] tabButtonBoxPane.getStyles().putInt("spacing", buttonSpacing); [javac] ^ [javac] symbol: method putInt(String,int) [javac] location: class Component.StyleDictionary [javac] 7 errors BUILD FAILED <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/build.xml>:620: The following error occurred while executing this line: <https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/ws/pivot_trunk/build.xml>:161: Compile failed; see the compiler error output for details. Total time: 10 seconds Build step 'Invoke Ant' marked build as failure