view patches/openjdk/8014427-raster_regression.patch @ 3011:736ee5b3272b

Remove unused patches and those which need more testing in HEAD. 2013-07-10 Andrew John Hughes <gnu.andrew@redhat.com> * patches/security/20130618/7158805-nested_subroutine_rewriting-it6.patch: Readd parts of patch removed without note in an earlier backport and fix copyright headers to apply (2011 instead of 2010). 2013-07-09 Andrew John Hughes <gnu.andrew@redhat.com> * patches/ecj/ant.patch, * patches/openjdk/6990754-handle_renames.patch, * patches/openjdk/6990754-use_native_memory_for_symboltable.patch, * patches/openjdk/7008809-report_class_in_arraystoreexception.patch, * patches/openjdk/7014851-unused_parallel_compaction_code.patch, * patches/openjdk/7017732-move_static_fields_to_class.patch, * patches/openjdk/7036747-elfstringtable.patch, * patches/openjdk/7086585-flexible_field_injection.patch, * patches/openjdk/7188114-alternate_command_line_parser.patch, * patches/openjdk/7199143-OCSP_timeout.patch, * patches/openjdk/8002070-remove_logger_stack_search.patch, * patches/openjdk/8002070-remove_logger_stack_search_2.patch, * patches/openjdk/8006120-server_jre.patch, * patches/openjdk/8006536-remove_trailing_slashes.patch, * patches/openjdk/8009463-space_and_final_backslash.patch, * patches/openjdk/8010118-caller_sensitive.patch, * patches/openjdk/8010213-set_socketoptions_windows.patch, * patches/openjdk/8011139-revise_checking_getenclosingclass.patch, * patches/openjdk/8011313-OCSP_timeout_wrong_value.patch, * patches/openjdk/8011990-logger_test_urls.patch, * patches/openjdk/8012243-serial_regression.patch, * patches/openjdk/8013380-handle_renames.patch, * patches/openjdk/8013380-logger_stack_walk_glassfish.patch, * patches/openjdk/8014205-blank_swing_dialogs_windows.patch, * patches/openjdk/8014618-strip_leading_zeros_premastersecret.patch, * patches/openjdk/8014676-javadebugger_space_in_paths.patch, * patches/openjdk/8014745-logger_stack_walk_switch.patch, * patches/openjdk/8014968-OCSP_timeout_default.patch, * patches/security/20130618/7158805-nested_subroutine_rewriting-it6.patch, * patches/security/20130618/8001330-checking_order_improvement-it6.patch, * patches/security/20130618/hs_merge-01.patch, * patches/security/20130618/hs_merge-02.patch, * patches/security/20130618/hs_merge-03.patch, * patches/security/20130618/hs_merge-04.patch, * patches/sparc.patch: Remove unused patches. * Makefile.am: (ICEDTEA_PATCHES): Remove patches which need more testing before release. * patches/ecj/override.patch: Drop recent addition. In accordance with PR1397, we should avoid extending this patch in favour of either not including @Override additions or setting source/target correctly. * patches/security/20130618/7158805-nested_subroutine_rewriting.patch, * patches/security/20130618/8001330-checking_order_improvement.patch: Replace with Chris' patches, regenerated as unified diffs.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Wed, 10 Jul 2013 14:09:21 +0100
parents
children
line wrap: on
line source

# HG changeset patch
# User bae
# Date 1368551120 -14400
# Node ID 9c9dc3220f0a857385242ad77a10f0b5caa3f861
# Parent  683f472433103a1aaee0bbee21814328fecd91a6
8014427: REGRESSION: closed/javax/imageio/plugins/bmp/Write3ByteBgrTest.java fails since 7u25 b09
Reviewed-by: prr, vadim

--- openjdk/jdk/src/share/classes/java/awt/image/Raster.java
+++ openjdk/jdk/src/share/classes/java/awt/image/Raster.java
@@ -392,7 +392,8 @@
             }
         }
         int banks = maxBank + 1;
-        int size = scanlineStride * (h - 1) + // fisrt (h - 1) scans
+        int size = maxBandOff +
+            scanlineStride * (h - 1) + // fisrt (h - 1) scans
             w; // last scan
 
         switch(dataType) {