提交 81a33761 编写于 作者: L lana

Merge

^build/ ^build/
^dist/ ^dist/
^testoutput/
/nbproject/private/ /nbproject/private/
^make/netbeans/.*/build/ ^make/netbeans/.*/build/
^make/netbeans/.*/dist/ ^make/netbeans/.*/dist/
......
...@@ -237,3 +237,5 @@ f002f5f3a16cca62e139cb8eed05ffaeb373587d jdk8-b112 ...@@ -237,3 +237,5 @@ f002f5f3a16cca62e139cb8eed05ffaeb373587d jdk8-b112
5b4261b4b72af53e8e178933ef6bc6c7f8cdbc60 jdk8-b113 5b4261b4b72af53e8e178933ef6bc6c7f8cdbc60 jdk8-b113
f26a0c8071bde1e3b923713c75156e4a58955623 jdk8-b114 f26a0c8071bde1e3b923713c75156e4a58955623 jdk8-b114
f82b730c798b6bf38946baaba8a7d80fd5efaa70 jdk8-b115 f82b730c798b6bf38946baaba8a7d80fd5efaa70 jdk8-b115
0dc0067f3b8efb299a4c23f76ee26ea64df9e1d7 jdk8-b116
fc4ac66aa657e09de5f8257c3174f240ed0cbaf7 jdk8-b117
...@@ -103,6 +103,7 @@ SUNWprivate_1.1 { ...@@ -103,6 +103,7 @@ SUNWprivate_1.1 {
Java_sun_management_VMManagementImpl_getSafepointCount; Java_sun_management_VMManagementImpl_getSafepointCount;
Java_sun_management_VMManagementImpl_getSafepointSyncTime; Java_sun_management_VMManagementImpl_getSafepointSyncTime;
Java_sun_management_VMManagementImpl_getStartupTime; Java_sun_management_VMManagementImpl_getStartupTime;
Java_sun_management_VMManagementImpl_getUptime0;
Java_sun_management_VMManagementImpl_getTotalApplicationNonStoppedTime; Java_sun_management_VMManagementImpl_getTotalApplicationNonStoppedTime;
Java_sun_management_VMManagementImpl_getTotalClassCount; Java_sun_management_VMManagementImpl_getTotalClassCount;
Java_sun_management_VMManagementImpl_getTotalCompileTime; Java_sun_management_VMManagementImpl_getTotalCompileTime;
......
此差异已折叠。
此差异已折叠。
...@@ -157,8 +157,8 @@ $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services: \ ...@@ -157,8 +157,8 @@ $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services: \
BUILD_DEMOS += $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services BUILD_DEMOS += $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services
$(eval $(call SetupDemo,MoleculeViewer,applets,,XYZChemModel,,,example*.html XYZApp.java)) $(eval $(call SetupDemo,MoleculeViewer,applets,,XYZChemModel,,,example*.html *.java))
$(eval $(call SetupDemo,WireFrame,applets,,ThreeD,,,example*.html ThreeD.java)) $(eval $(call SetupDemo,WireFrame,applets,,ThreeD,,,example*.html *.java))
$(eval $(call SetupDemo,FileChooserDemo,jfc,,FileChooserDemo,,,README*)) $(eval $(call SetupDemo,FileChooserDemo,jfc,,FileChooserDemo,,,README*))
$(eval $(call SetupDemo,Font2DTest,jfc,,Font2DTest,,,*.html *.txt)) $(eval $(call SetupDemo,Font2DTest,jfc,,Font2DTest,,,*.html *.txt))
$(eval $(call SetupDemo,Metalworks,jfc,,Metalworks,,,README*)) $(eval $(call SetupDemo,Metalworks,jfc,,Metalworks,,,README*))
......
# #
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# This code is free software; you can redistribute it and/or modify it # This code is free software; you can redistribute it and/or modify it
...@@ -48,8 +48,10 @@ include MakeBase.gmk ...@@ -48,8 +48,10 @@ include MakeBase.gmk
# be built, signed, and then the resulting jar files MUST BE CHECKED # be built, signed, and then the resulting jar files MUST BE CHECKED
# INTO THE CLOSED PART OF THE WORKSPACE*. This separate step *MUST NOT # INTO THE CLOSED PART OF THE WORKSPACE*. This separate step *MUST NOT
# BE FORGOTTEN*, otherwise a bug fixed in the source code will not be # BE FORGOTTEN*, otherwise a bug fixed in the source code will not be
# reflected in the shipped binaries. The "sign-jars" target in the top # reflected in the shipped binaries.
# level Makefile should be used to generate the required files. #
# Please consult with Release Engineering, which is responsible for
# creating the final JCE builds suitable for checkin.
# #
# Default target # Default target
...@@ -58,7 +60,7 @@ all: ...@@ -58,7 +60,7 @@ all:
ifndef OPENJDK ifndef OPENJDK
README-MAKEFILE_WARNING := \ README-MAKEFILE_WARNING := \
"\nPlease read makefiles/SignJars.gmk for further build instructions.\n" "\nPlease read jdk/makefiles/SignJars.gmk for further build instructions.\n"
# #
# Location for JCE codesigning key. # Location for JCE codesigning key.
...@@ -84,20 +86,34 @@ $(JCE_OUTPUTDIR)/%: $(JDK_OUTPUTDIR)/unsigned/% ...@@ -84,20 +86,34 @@ $(JCE_OUTPUTDIR)/%: $(JDK_OUTPUTDIR)/unsigned/%
$@ $(SIGNING_ALIAS) < $(SIGNING_PASSPHRASE) $@ $(SIGNING_ALIAS) < $(SIGNING_PASSPHRASE)
@$(PRINTF) "\nJar codesigning finished.\n" @$(PRINTF) "\nJar codesigning finished.\n"
JAR_LIST := jce.jar \ JAR_LIST := \
jce.jar \
local_policy.jar \ local_policy.jar \
sunec.jar \ sunec.jar \
sunjce_provider.jar \ sunjce_provider.jar \
sunpkcs11.jar \ sunpkcs11.jar \
US_export_policy.jar US_export_policy.jar \
sunmscapi.jar \
ucrypto.jar \
#
UNSIGNED_JARS := $(wildcard $(addprefix $(JDK_OUTPUTDIR)/unsigned/, $(JAR_LIST)))
ifeq ($(UNSIGNED_JARS), )
$(error No jars found in $(JDK_OUTPUTDIR)/unsigned/)
endif
SIGNED_JARS := $(addprefix $(JCE_OUTPUTDIR)/,$(JAR_LIST)) SIGNED_JARS := $(patsubst $(JDK_OUTPUTDIR)/unsigned/%,$(JCE_OUTPUTDIR)/%, $(UNSIGNED_JARS))
$(SIGNED_JARS): check-keystore $(SIGNED_JARS): check-keystore
all: $(SIGNED_JARS) all: $(SIGNED_JARS)
@$(PRINTF) "\n***The jar files built by the 'jar-sign' target must***" @$(PRINTF) "\n*** The jar files built by the 'sign-jars' target are developer ***"
@$(PRINTF) "\n***still be checked into the closed workspace!***" @$(PRINTF) "\n*** builds only and *MUST NOT* be checked into the closed workspace. ***"
@$(PRINTF) "\n*** ***"
@$(PRINTF) "\n*** Please consult with Release Engineering: they will generate ***"
@$(PRINTF) "\n*** the proper binaries for the closed workspace. ***"
@$(PRINTF) "\n"
@$(PRINTF) $(README-MAKEFILE_WARNING) @$(PRINTF) $(README-MAKEFILE_WARNING)
endif # !OPENJDK endif # !OPENJDK
...@@ -115,7 +115,6 @@ BUILD_LIBRARIES += $(BUILD_LIBVERIFY) ...@@ -115,7 +115,6 @@ BUILD_LIBRARIES += $(BUILD_LIBVERIFY)
LIBJAVA_SRC_DIRS := $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/java/lang \ LIBJAVA_SRC_DIRS := $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/java/lang \
$(JDK_TOPDIR)/src/share/native/java/lang \ $(JDK_TOPDIR)/src/share/native/java/lang \
$(JDK_TOPDIR)/src/share/native/java/lang/ref \
$(JDK_TOPDIR)/src/share/native/java/lang/reflect \ $(JDK_TOPDIR)/src/share/native/java/lang/reflect \
$(JDK_TOPDIR)/src/share/native/java/io \ $(JDK_TOPDIR)/src/share/native/java/io \
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/java/io \ $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/java/io \
......
...@@ -275,19 +275,12 @@ BUILD_LIBRARIES += $(BUILD_LIBINSTRUMENT) ...@@ -275,19 +275,12 @@ BUILD_LIBRARIES += $(BUILD_LIBINSTRUMENT)
########################################################################################## ##########################################################################################
BUILD_LIBMANAGEMENT_SRC := $(JDK_TOPDIR)/src/share/native/sun/management \ BUILD_LIBMANAGEMENT_SRC := $(JDK_TOPDIR)/src/share/native/sun/management \
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/management \ $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/management
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/com/sun/management
BUILD_LIBMANAGEMENT_EXCLUDES := BUILD_LIBMANAGEMENT_EXCLUDES :=
BUILD_LIBMANAGEMENT_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/management BUILD_LIBMANAGEMENT_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/management
ifneq ($(OPENJDK_TARGET_OS), windows)
BUILD_LIBMANAGEMENT_EXCLUDES += OperatingSystem_md.c
else
BUILD_LIBMANAGEMENT_EXCLUDES += UnixOperatingSystem_md.c
endif
ifneq ($(OPENJDK_TARGET_OS), solaris) ifneq ($(OPENJDK_TARGET_OS), solaris)
BUILD_LIBMANAGEMENT_EXCLUDES += SolarisOperatingSystem.c BUILD_LIBMANAGEMENT_EXCLUDES += SolarisOperatingSystem.c
endif endif
......
...@@ -140,7 +140,6 @@ SUNWprivate_1.1 { ...@@ -140,7 +140,6 @@ SUNWprivate_1.1 {
Java_java_lang_Double_doubleToRawLongBits; Java_java_lang_Double_doubleToRawLongBits;
Java_java_lang_reflect_Proxy_defineClass0; Java_java_lang_reflect_Proxy_defineClass0;
Java_java_lang_Shutdown_runAllFinalizers; Java_java_lang_Shutdown_runAllFinalizers;
Java_java_lang_ref_Finalizer_invokeFinalizeMethod;
Java_java_lang_Float_intBitsToFloat; Java_java_lang_Float_intBitsToFloat;
Java_java_lang_Float_floatToRawIntBits; Java_java_lang_Float_floatToRawIntBits;
Java_java_lang_StrictMath_IEEEremainder; Java_java_lang_StrictMath_IEEEremainder;
......
...@@ -88,7 +88,6 @@ text: .text%Java_java_lang_Throwable_getStackTraceElement; ...@@ -88,7 +88,6 @@ text: .text%Java_java_lang_Throwable_getStackTraceElement;
text: .text%throwFileNotFoundException; text: .text%throwFileNotFoundException;
text: .text%JNU_NotifyAll; text: .text%JNU_NotifyAll;
# Test LoadFrame # Test LoadFrame
text: .text%Java_java_lang_ref_Finalizer_invokeFinalizeMethod;
text: .text%JNU_CallMethodByName; text: .text%JNU_CallMethodByName;
text: .text%JNU_CallMethodByNameV; text: .text%JNU_CallMethodByNameV;
text: .text%Java_java_io_UnixFileSystem_createDirectory; text: .text%Java_java_io_UnixFileSystem_createDirectory;
......
...@@ -78,7 +78,6 @@ text: .text%writeBytes; ...@@ -78,7 +78,6 @@ text: .text%writeBytes;
text: .text%Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2; text: .text%Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2;
text: .text%JNU_GetEnv; text: .text%JNU_GetEnv;
text: .text%Java_java_io_UnixFileSystem_checkAccess; text: .text%Java_java_io_UnixFileSystem_checkAccess;
text: .text%Java_java_lang_ref_Finalizer_invokeFinalizeMethod;
text: .text%Java_java_lang_reflect_Array_newArray; text: .text%Java_java_lang_reflect_Array_newArray;
text: .text%Java_java_lang_Throwable_getStackTraceDepth; text: .text%Java_java_lang_Throwable_getStackTraceDepth;
text: .text%Java_java_lang_Throwable_getStackTraceElement; text: .text%Java_java_lang_Throwable_getStackTraceElement;
......
...@@ -78,7 +78,6 @@ text: .text%Java_java_security_AccessController_doPrivileged__Ljava_security_Pri ...@@ -78,7 +78,6 @@ text: .text%Java_java_security_AccessController_doPrivileged__Ljava_security_Pri
text: .text%JNU_GetEnv; text: .text%JNU_GetEnv;
text: .text%Java_java_io_UnixFileSystem_checkAccess; text: .text%Java_java_io_UnixFileSystem_checkAccess;
text: .text%Java_sun_reflect_NativeMethodAccessorImpl_invoke0; text: .text%Java_sun_reflect_NativeMethodAccessorImpl_invoke0;
text: .text%Java_java_lang_ref_Finalizer_invokeFinalizeMethod;
text: .text%Java_java_io_FileInputStream_available; text: .text%Java_java_io_FileInputStream_available;
text: .text%Java_java_lang_reflect_Array_newArray; text: .text%Java_java_lang_reflect_Array_newArray;
text: .text%Java_java_lang_Throwable_getStackTraceDepth; text: .text%Java_java_lang_Throwable_getStackTraceDepth;
......
...@@ -27,17 +27,17 @@ ...@@ -27,17 +27,17 @@
SUNWprivate_1.1 { SUNWprivate_1.1 {
global: global:
Java_com_sun_management_UnixOperatingSystem_getCommittedVirtualMemorySize; Java_sun_management_OperatingSystemImpl_getCommittedVirtualMemorySize;
Java_com_sun_management_UnixOperatingSystem_getFreePhysicalMemorySize; Java_sun_management_OperatingSystemImpl_getFreePhysicalMemorySize;
Java_com_sun_management_UnixOperatingSystem_getFreeSwapSpaceSize; Java_sun_management_OperatingSystemImpl_getFreeSwapSpaceSize;
Java_com_sun_management_UnixOperatingSystem_getMaxFileDescriptorCount; Java_sun_management_OperatingSystemImpl_getMaxFileDescriptorCount;
Java_com_sun_management_UnixOperatingSystem_getOpenFileDescriptorCount; Java_sun_management_OperatingSystemImpl_getOpenFileDescriptorCount;
Java_com_sun_management_UnixOperatingSystem_getProcessCpuLoad; Java_sun_management_OperatingSystemImpl_getProcessCpuLoad;
Java_com_sun_management_UnixOperatingSystem_getProcessCpuTime; Java_sun_management_OperatingSystemImpl_getProcessCpuTime;
Java_com_sun_management_UnixOperatingSystem_getSystemCpuLoad; Java_sun_management_OperatingSystemImpl_getSystemCpuLoad;
Java_com_sun_management_UnixOperatingSystem_getTotalPhysicalMemorySize; Java_sun_management_OperatingSystemImpl_getTotalPhysicalMemorySize;
Java_com_sun_management_UnixOperatingSystem_getTotalSwapSpaceSize; Java_sun_management_OperatingSystemImpl_getTotalSwapSpaceSize;
Java_com_sun_management_UnixOperatingSystem_initialize; Java_sun_management_OperatingSystemImpl_initialize;
Java_sun_management_ClassLoadingImpl_setVerboseClass; Java_sun_management_ClassLoadingImpl_setVerboseClass;
Java_sun_management_DiagnosticCommandImpl_executeDiagnosticCommand; Java_sun_management_DiagnosticCommandImpl_executeDiagnosticCommand;
Java_sun_management_DiagnosticCommandImpl_getDiagnosticCommands; Java_sun_management_DiagnosticCommandImpl_getDiagnosticCommands;
...@@ -103,6 +103,7 @@ SUNWprivate_1.1 { ...@@ -103,6 +103,7 @@ SUNWprivate_1.1 {
Java_sun_management_VMManagementImpl_getSafepointCount; Java_sun_management_VMManagementImpl_getSafepointCount;
Java_sun_management_VMManagementImpl_getSafepointSyncTime; Java_sun_management_VMManagementImpl_getSafepointSyncTime;
Java_sun_management_VMManagementImpl_getStartupTime; Java_sun_management_VMManagementImpl_getStartupTime;
Java_sun_management_VMManagementImpl_getUptime0;
Java_sun_management_VMManagementImpl_getTotalApplicationNonStoppedTime; Java_sun_management_VMManagementImpl_getTotalApplicationNonStoppedTime;
Java_sun_management_VMManagementImpl_getTotalClassCount; Java_sun_management_VMManagementImpl_getTotalClassCount;
Java_sun_management_VMManagementImpl_getTotalCompileTime; Java_sun_management_VMManagementImpl_getTotalCompileTime;
......
...@@ -227,7 +227,7 @@ public class AquaFileChooserUI extends FileChooserUI { ...@@ -227,7 +227,7 @@ public class AquaFileChooserUI extends FileChooserUI {
// Exist in basic.properties (though we might want to override) // Exist in basic.properties (though we might want to override)
fileDescriptionText = UIManager.getString("FileChooser.fileDescriptionText"); fileDescriptionText = UIManager.getString("FileChooser.fileDescriptionText");
directoryDescriptionText = UIManager.getString("FileChooser.directoryDescriptionText"); directoryDescriptionText = UIManager.getString("FileChooser.directoryDescriptionText");
newFolderErrorText = getString("FileChooser.newFolderErrorText", "Error occured during folder creation"); newFolderErrorText = getString("FileChooser.newFolderErrorText", "Error occurred during folder creation");
saveButtonText = UIManager.getString("FileChooser.saveButtonText"); saveButtonText = UIManager.getString("FileChooser.saveButtonText");
openButtonText = UIManager.getString("FileChooser.openButtonText"); openButtonText = UIManager.getString("FileChooser.openButtonText");
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
############ FILE CHOOSER STRINGS ############# ############ FILE CHOOSER STRINGS #############
FileChooser.fileDescription.textAndMnemonic=Generic File FileChooser.fileDescription.textAndMnemonic=Generic File
FileChooser.directoryDescription.textAndMnemonic=Directory FileChooser.directoryDescription.textAndMnemonic=Directory
FileChooser.newFolderError.textAndMnemonic=Error occured during folder creation FileChooser.newFolderError.textAndMnemonic=Error occurred during folder creation
FileChooser.newFolderErrorSeparator= : FileChooser.newFolderErrorSeparator= :
FileChooser.acceptAllFileFilter.textAndMnemonic=All Files FileChooser.acceptAllFileFilter.textAndMnemonic=All Files
FileChooser.cancelButton.textAndMnemonic=Cancel FileChooser.cancelButton.textAndMnemonic=Cancel
......
...@@ -123,7 +123,7 @@ public class StandardMetadataFormatResources extends ListResourceBundle { ...@@ -123,7 +123,7 @@ public class StandardMetadataFormatResources extends ListResourceBundle {
"The vertical position, in millimeters, where the image should be rendered on media " }, "The vertical position, in millimeters, where the image should be rendered on media " },
{ "HorizontalPixelOffset", { "HorizontalPixelOffset",
"The horizonal position, in pixels, where the image should be rendered onto a raster display" }, "The horizontal position, in pixels, where the image should be rendered onto a raster display" },
{ "VerticalPixelOffset", { "VerticalPixelOffset",
"The vertical position, in pixels, where the image should be rendered onto a raster display" }, "The vertical position, in pixels, where the image should be rendered onto a raster display" },
......
...@@ -111,7 +111,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler { ...@@ -111,7 +111,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:an Snmp error occured during the operation", x); "]:an Snmp error occurred during the operation", x);
} }
} }
catch(Exception x) { catch(Exception x) {
...@@ -119,7 +119,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler { ...@@ -119,7 +119,7 @@ class SnmpSubBulkRequestHandler extends SnmpSubRequestHandler {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:a generic error occured during the operation", x); "]:a generic error occurred during the operation", x);
} }
} }
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) {
......
...@@ -127,7 +127,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler { ...@@ -127,7 +127,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:an Snmp error occured during the operation", x); "]:an Snmp error occurred during the operation", x);
} }
} }
catch(Exception x) { catch(Exception x) {
...@@ -135,7 +135,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler { ...@@ -135,7 +135,7 @@ class SnmpSubNextRequestHandler extends SnmpSubRequestHandler {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:a generic error occured during the operation", x); "]:a generic error occurred during the operation", x);
} }
} }
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) {
......
...@@ -231,7 +231,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable { ...@@ -231,7 +231,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:an Snmp error occured during the operation", x); "]:an Snmp error occurred during the operation", x);
} }
} }
catch(Exception x) { catch(Exception x) {
...@@ -239,7 +239,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable { ...@@ -239,7 +239,7 @@ class SnmpSubRequestHandler implements SnmpDefinitions, Runnable {
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) {
SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(), SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubRequestHandler.class.getName(),
"run", "[" + Thread.currentThread() + "run", "[" + Thread.currentThread() +
"]:a generic error occured during the operation", x); "]:a generic error occurred during the operation", x);
} }
} }
if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) { if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINER)) {
......
...@@ -541,7 +541,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern ...@@ -541,7 +541,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
if (rowSetWriter != null) { if (rowSetWriter != null) {
Class<?> c = rowSetWriter.getClass(); Class<?> c = rowSetWriter.getClass();
if (c != null) { if (c != null) {
Class[] theInterfaces = c.getInterfaces(); Class<?>[] theInterfaces = c.getInterfaces();
for (int i = 0; i < theInterfaces.length; i++) { for (int i = 0; i < theInterfaces.length; i++) {
if ((theInterfaces[i].getName()).indexOf("TransactionalWriter") > 0) { if ((theInterfaces[i].getName()).indexOf("TransactionalWriter") > 0) {
tXWriter = true; tXWriter = true;
......
...@@ -51,6 +51,11 @@ import java.util.Arrays; ...@@ -51,6 +51,11 @@ import java.util.Arrays;
*/ */
public abstract class BaseRow implements Serializable, Cloneable { public abstract class BaseRow implements Serializable, Cloneable {
/**
* Specify the serialVersionUID
*/
private static final long serialVersionUID = 4152013523511412238L;
/** /**
* The array containing the original values for this <code>BaseRow</code> * The array containing the original values for this <code>BaseRow</code>
* object. * object.
...@@ -77,7 +82,7 @@ public abstract class BaseRow implements Serializable, Cloneable { ...@@ -77,7 +82,7 @@ public abstract class BaseRow implements Serializable, Cloneable {
* @param idx the index of the element to return * @param idx the index of the element to return
* @return the <code>Object</code> value at the given index into this * @return the <code>Object</code> value at the given index into this
* row's array of original values * row's array of original values
* @throws <code>SQLException</code> if there is an error * @throws SQLException if there is an error
*/ */
public abstract Object getColumnObject(int idx) throws SQLException; public abstract Object getColumnObject(int idx) throws SQLException;
...@@ -90,7 +95,7 @@ public abstract class BaseRow implements Serializable, Cloneable { ...@@ -90,7 +95,7 @@ public abstract class BaseRow implements Serializable, Cloneable {
* @param idx the index of the element to be set * @param idx the index of the element to be set
* @param obj the <code>Object</code> to which the element at index * @param obj the <code>Object</code> to which the element at index
* <code>idx</code> to be set * <code>idx</code> to be set
* @throws <code>SQLException</code> if there is an error * @throws SQLException if there is an error
*/ */
public abstract void setColumnObject(int idx, Object obj) throws SQLException; public abstract void setColumnObject(int idx, Object obj) throws SQLException;
} }
...@@ -377,7 +377,7 @@ public class CommandInterpreter { ...@@ -377,7 +377,7 @@ public class CommandInterpreter {
env.failure("Attempt to launch main class \"" + clname + "\" failed."); env.failure("Attempt to launch main class \"" + clname + "\" failed.");
} }
} else { } else {
env.failure("No main class specifed and no current default defined."); env.failure("No main class specified and no current default defined.");
} }
} else { } else {
clname = t.nextToken(); clname = t.nextToken();
...@@ -428,7 +428,7 @@ public class CommandInterpreter { ...@@ -428,7 +428,7 @@ public class CommandInterpreter {
env.failure("Attempt to attach to port \"" + portName + "\" failed."); env.failure("Attempt to attach to port \"" + portName + "\" failed.");
} }
} else { } else {
env.failure("No port specifed and no current default defined."); env.failure("No port specified and no current default defined.");
} }
} else { } else {
portName = t.nextToken(); portName = t.nextToken();
......
...@@ -806,7 +806,7 @@ function XSLTransform(inp, style, out) { ...@@ -806,7 +806,7 @@ function XSLTransform(inp, style, out) {
out = arguments[2]; out = arguments[2];
break; break;
default: default:
println("XSL tranform requires 2 or 3 arguments"); println("XSL transform requires 2 or 3 arguments");
return; return;
} }
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册