changeset 6437:b2217904cc6a

RT-8628: JPEGImageLoader_decompressIndirect has incorrect text in exception message. Summary: fix exception message
author vadim
date Fri, 07 Mar 2014 16:45:23 +0400
parents efb0a3d40c1f
children 050af50b4a0e
files modules/graphics/src/main/native-iio/jpegloader.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-iio/jpegloader.c	Thu Mar 06 17:50:58 2014 -0500
+++ b/modules/graphics/src/main/native-iio/jpegloader.c	Fri Mar 07 16:45:23 2014 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -1572,7 +1572,7 @@
     if (scanline_ptr == NULL) {
         ThrowByName(env,
                 "java/lang/OutOfMemoryError",
-                "Writing JPEG Stream");
+                "Reading JPEG Stream");
         RELEASE_ARRAYS(env, data, cinfo->src->next_input_byte);
         return JNI_FALSE;
     }
@@ -1659,7 +1659,7 @@
     if (buf == NULL) {
         ThrowByName(env,
                 "java/lang/OutOfMemoryError",
-                "Writing JPEG Stream");
+                "Reading JPEG Stream");
         return NULL;
     }