Memory Drive

Computer_IT/JAVA +41
반응형

증상

  • Windows 명령창에서 Tomcat 구동시 한글이 모두 깨짐

원인

  • 명령 프롬프트 창과 tomcat logging 기본 인코딩(UTF-8)이 틀려서 발생

조치방법

  1. 레지스트리를 편집하여 "명령 프롬프트" 인코딩 변경
  2. tomcat에서 남기는 로그 인코딩 변경 ( tomcat9 버전 기준 )
1catalina.org.apache.juli.AsyncFileHandler.encoding = UTF-8
2localhost.org.apache.juli.AsyncFileHandler.encoding = UTF-8
3manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
4host-manager.org.apache.juli.AsyncFileHandler.encoding = UTF-8
java.util.logging.ConsoleHandler.encoding = UTF-8

UTF-8 부분 모두 EUC-KR로 변경후 저장

결과

반응형

반응형

오류 메시지

unmappable character for encoding EUC_KR


해결 

pom.xml 에 다음 속성 추가


<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>

<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>


반응형

반응형

현상

logback 출력시 계속 로그가 2줄씩 출력이 되는 경우가 발생


<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

   xmlns:mvc="http://www.springframework.org/schema/mvc"

           -- 생략...

          <mvc:annotation-driven/>

          -- 생략

</beans>


해결

annotation-driven이 2번 선언 되어있을 경우 로그가 2번 출력되는 경우가 있음 / 1개만 존재하도록 변경


변경전


변경후


반응형

반응형

Java에서 Bitmap을 Pixel 단위로 처리 할때 샘플...


 

Source...

import java.awt.image.BufferedImage;

import java.io.File;

import java.io.IOException;


import javax.imageio.ImageIO;


public class BufferedImagePixels {

public static void main(String[] args) {


BufferedImage bufferedImage = new BufferedImage(300, 300,

BufferedImage.TYPE_INT_RGB);


int rgb = bufferedImage.getRGB(1, 1);


int w = bufferedImage.getWidth(null);

int h = bufferedImage.getHeight(null);

int[] rgbs = new int[w * h];

bufferedImage.getRGB(0, 0, w, h, rgbs, 0, w);


rgb = 0xFF00FF00; // green


for (int i = 1; i < w; i++) {

bufferedImage.setRGB(i, i, rgb);

}


File outputfile = new File("c:\\image.png");

try {

// png, 

ImageIO.write(bufferedImage, "png", outputfile);

} catch (IOException e) {

e.printStackTrace();

}


}

}


결과...


반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[MAVEN] unmappable character for encoding EUC_KR  (0) 2018.08.23
[spring] logback 로그 2번 찍힘  (0) 2018.08.09
JDK 7 release - Bug Fixes history  (0) 2014.10.20
eclipse @author 변경하기  (0) 2013.07.02
jackson parser sample  (0) 2013.04.02

반응형


 


The following table lists the bug fixes included in JDK 7u72 release:

Bug IdCategorySubcategoryDescription
8036022client-libs2dD3D: rendering with XOR composite causes InternalError.
8019623client-libsjava.awtLack of synchronization in AppContext.getAppContext()
8024061client-libsjava.awtException thrown when drag and drop between two components is executed quickly
8028617client-libsjava.awtDvorak keyboard mapping not honored when ctrl key pressed
8016545client-libsjava.beansjava.beans.XMLEncoder.writeObject output is wrong
8036819client-libsjavax.accessibilityJAB: mneumonics not read for textboxes
8036983client-libsjavax.accessibilityJAB:Multiselection Ctrl+CursorUp/Down and ActivateDescenderPropertyChanged event
8028616client-libsjavax.swingHtmleditorkit parser doesn't handle leading slash (/)
8032872client-libsjavax.swing[macosx] Cannot select from JComboBox in a JWindow
8032874client-libsjavax.swingArrayIndexOutOfBoundsException in JTable while clearing data in JTable
8032878client-libsjavax.swingEditable combos in table do not behave as expected
8041451core-libsjavax.namingcom.sun.jndi.ldap.Connection:ReadTimeout should abandon ldap request
8042857core-libsjavax.naming14 stuck threads waiting for notification on LDAPRequest
7142035core-svcjava.lang.instrumentassert in j.l.instrument agents during shutdown when daemon thread is running
8028623core-svctoolsSA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.
8028619deploydeployment_toolkitDisplay issue of java control panel in ko and ja locale
8031490deploydeployment_toolkitBroken Java SE 7 jnlp samples (app2 and app3)
8038463deploydeployment_toolkitJava Control Panel doesn't display correctly in high resolution
8025051globalizationlocale-dataUpdate resource files for TimeZone display names
8039298hotspotcompilerC2: assert(base == NULL || t_adr->isa_rawptr() || !phase->type(base)->higher_equal(TypePtr::NULL_PTR)) failed: NULL+offs not RAW address?
8038925hotspotgcJava with G1 crashes in dump_instance_fields using jmap or jcmd without fullgc
8019324hotspotruntimeassert(_f2 == 0 || _f2 == f2) failed: illegal field change
8031290hotspotruntimeAdjust call to getisax() for additional words returned
8033696hotspotruntime"assert(thread != NULL) failed: just checking" due to Thread::current() and JNI pthread interaction
8051012hotspotruntimeRegression in verifier for <init> method call from inside of a branch
8021804security-libsjava.securityCertpath validation fails if validity period of root cert does not include validity period of intermediate cert
8050158security-libsjavax.net.sslIntroduce system property to maintain RC4 preference order
7047033security-libsjavax.smartcardio(smartcardio) Card.disconnect(boolean reset) does not reset when reset is true
7195480security-libsjavax.smartcardiojavax.smartcardio does not detect cards on Mac OS X
8039319security-libsjavax.smartcardio(smartcardio) Card.transmitControlCommand() does not work on Mac OS X
8043507security-libsjavax.smartcardio(smartcardio) javax.smartcardio.CardTerminals.list() fails on MacOSX
8046343security-libsjavax.smartcardio(smartcardio) CardTerminal.connect('direct') does not work on MacOSX
8049250security-libsjavax.smartcardio(smartcardio) Need a flag to invert the Card.disconnect(reset) argument
8036709toolsjarJava 7 jarsigner displays warning about cert policy tree
8033113xmljax-wswsimport fails on WSDL:header parameter name customization
8029837xmljaxpNPE seen in XMLDocumentFragmentScannerImpl.setProperty since 7u40b33


http://www.oracle.com/technetwork/java/javase/2col/7u72-bugfixes-2298229.html




The following table lists the bug fixes included in JDK 7u71 release:

Bug IdCategorySubcategoryDescription
8032788client-libsjava.awtImageIcon constructor throws an NPE and hangs when passed a null String parameter
8057184client-libsjavax.swingJCK8's api/javax_swing/JDesktopPane/descriptions.html#getset failed with GTKLookAndFeel on Linux and Solaris run v.s. JDK8+
8001105core-libsjava.lang.invokefindVirtual of Object[].clone produces internal error
8031502core-libsjava.lang.invokeJSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
8027821deploy For signed jars without manifest "Permissions", there is still security warning dialog before Application Error (Or blocked) Dialog.
8054904deploy Webstart cache path error for Java >= 7u65
8032883deploypluginjava.lang.UnsupportedClassVersionError occurs while accessing an applet
8036620deploypluginJAR file is downloaded on DownloadService.removeResource, if it is not in Deployment Cache
8040786deploypluginText is truncated in JavaScript to Java security warning dialog on OS X
8043478deploypluginOracle Linux 5.x: Expired JRE disabled in the browser automatically and no native dialog prompting for the JRE update
8025726deploywebstartCertificate rule in DRS does not work for Java Web Start app when caching is turned off
8051891deploywebstartSWT cannot load native look&feel
8050485hotspotruntimesuper() in a try block in a ctor may need to cause VerifyError
8027686install Fail to install on MacOS 10.10
7160837security-libsjavax.cryptoDigestOutputStream does not turn off digest calculation when "close()" is called
8028627security-libsjavax.cryptoUnsynchronized code path from javax.crypto.Cipher to the WeakHashMap used by JceSecurity to store codebase mappings


http://www.oracle.com/technetwork/java/javase/2col/7u71-bugfixes-2298226.html







The following table lists the bug fixes included in JDK 7u65 release:

Bug IdCategorySubcategoryDescription
8023990client-libs2dRegression: postscript size increase from 6u18
8019990client-libsjava.awt:i18nIM candidate window appears on the South-East corner of the display
8013611client-libsjavax.swingModal dialog fails to obtain keyboard focus
8001108core-libsjava.lang.invokean attempt to use "<init>" as a method name should elicit NoSuchMethodException
8001109core-libsjava.lang.invokearity mismatch on a call to spreader method handle should elicit IllegalArgumentException
8024616core-libsjava.lang.invokeJSR292: lazily initialize core NamedFunctions used for bootstrapping
8043012core-libsjava.util:i18n(tz) Support tzdata2014c
8019274deploy RMI thread can no longer call out to AWT thread for webstart app
8032781deploydeployment_toolkitRun rule not working in case of html applet
8030636deploypluginAccessibility class in jar on -xbootclasspath/a is not loaded by jvm
8031996deploypluginJava.Lang.Reflect.InvocationTargetException When Cache Has Disabled
8032206deploypluginApplet with jnlp.Packenabled=True And jnlp.versionEnabled=True Fails
8034230deploypluginApplet caller check should not compare URLs
8035449deploypluginsecurity prompt is shown twice when 'Do not show' checkbox is checked
8041339deploywebstartJNLP with java-vm-args whose length exceeded 512 chars failed to get loaded with CouldNotLoadArgumentException
8013836globalizationlocale-datagetFirstDayOfWeek reports wrong day for pt-BR locale
8042789other-libscorbaorg.omg.CORBA.ORBSingletonClass loading no longer uses context class loader
8035613xmljaxbWith active Securitymanager JAXBContext.newInstance fails




The following table lists the bug fixes included in JDK 7u60 release:

Bug IDCategorySub- CategoryDescription
JDK-4673406client-libs2dRFE: Java Printing: Provide a way to display win32 printer driver's dialog
JDK-8005607client-libsjava.awtRecursion in J2DXErrHandler() Causes a Stack Overflow on Linux
JDK-8025775client-libsjava.awtJNI warnings in TryXShmAttach
JDK-6995891client-libsjavax.accessibilityJAWS will occasionally stop speaking focused objects as user TABs -> problem with message queue
JDK-8020457client-libs2dFontmatrix for Type1 fonts is not used correctly
JDK-7129133client-libsjava.awt[macosx] Accelerators are displayed as Meta instead of the Command symbol
JDK-7173464client-libsjava.awtClipboard.getAvailableDataFlavors: Comparison method violates contract
JDK-8021943client-libsjava.awtFileDialog getFile returns corrupted string after previous setFile
JDK-8023474client-libsjava.awtFirst mousepress doesn't start editing in JTree
JDK-8025145client-libsjava.awt[macosx]: java 7 does not recognize tiff image on clipboard
JDK-8028054client-libsjava.beanscom.sun.beans.finder.MethodFinder has unsynchronized access to a static Map
JDK-8022966client-libsjavax.accessibilityJava Access Bridge no longer usable with screen magnifiers
JDK-8023565client-libsjavax.imageioJPG causes javax.imageio.IIOException: ICC APP2 encoutered without prior JFIF!
JDK-8022997client-libsjavax.swing[macosx] Remaining duplicated key events
JDK-8023392client-libsjavax.swingSwing text components printed with spaces between chars
JDK-8024395client-libsjavax.swingImprove fix for line break calculations
JDK-8027066client-libsjava.beansXMLDecoder in java 7 cannot properly deserialize object arrays
JDK-8016833client-libsjavax.swingUnderlines and strikethrough not rendering correctly
JDK-8035897core-libsjava.netBetter memory allocation for file descriptors greater than 1024 on macosx
JDK-7199674core-libsjava.lang(props) user.home property does not return an accessible location in sandboxed environment [macosx]
JDK-8023130core-libsjava.lang(process) ProcessBuilder#inheritIO does not work on Windows
JDK-8024521core-libsjava.lang(process) Async close issues with Process InputStream
JDK-8019184core-libsjava.lang.invokeMethodHandles.catchException() fails when methods have 8 args + varargs
JDK-8006395core-libsjava.netRace in async socket close on Linux
JDK-8024952core-libsjava.netClassCastException in PlainSocketImpl.accept() when using custom socketImpl
JDK-8023881core-libsjava.netIDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII
JDK-8011944core-libsjava.utilSort fails with ArrayIndexOutOfBoundsException
JDK-8023563core-libsjava.util:i18nBottleneck in java.util.TimeZone.getDefaultInAppContext
JDK-8027351core-libs (ref) Private finalize method invoked in preference to protected superclass method
JDK-8038306core-libs (tz) Support tzdata2014b
JDK-8016018core-libsjava.lang(str) Error in description of the method indexOf in the class StringBuffer
JDK-8020037core-libsjava.langString.toLowerCase incorrectly increases length, if string contains \u0130 char
JDK-8021368core-libsjava.langLaunch of Java Web Start app fails with ClassCircularityError exception in 7u25
JDK-8012244core-libsjava.netjava/net/Socket/asyncClose/Race.java fails intermittently on Windows
JDK-8021820core-libsjava.netNumber of opened files used in select() is limited to 1024 [macosx]
JDK-8022584core-libsjava.netMemory leak in NetworkInterface methods ex. isUP(), isLoopback()
JDK-8034181core-libsjava.net(sctp) SIGBUS in SctpChannelImpl receive
JDK-7074436core-libsjava.nio(sc) SocketChannel can do short gathering writes when channel configured blocking (win)
JDK-8014394core-libsjava.nio(fs) WatchService failing when watching \\server\$d
JDK-8024788core-libsjava.nio(fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
JDK-8012326core-libsjava.nio.charsetsDeadlock occurs when Charset.availableCharsets() is called by several threads at the same time
JDK-8016127core-libsjava.util.loggingNLS: logging.properties translatability recommendation
JDK-8025512core-libsjava.util.loggingNPE with logging while launching webstart on jre7u40 if logging is disabled
JDK-8029281core-libsjava.util.loggingSynchronization issues in Logger and LogManager
JDK-8011194core-libsjava.util:i18nApps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X
JDK-7147084core-libsjava.lang(process) appA hangs when read output stream of appB which starts appC that runs forever
JDK-8007454core-libsjava.lang(process) SetHandleInformation parameters DWORD (not BOOLEAN)
JDK-8024356core-libsjava.langDouble.parseDouble() is slow for long Strings
JDK-7123493core-libsjava.lang:reflect(proxy) Proxy.getProxyClass doesn't scale under high load
JDK-7171591core-libsjava.netgetDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value
JDK-8003895core-libsjava.niojava/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64]
JDK-8020669core-libsjava.nio(fs) Files.readAllBytes() does not read any data when Files.size() is 0
JDK-8024131core-libsjava.util.loggingIssues with cached localizedLevelName in java.util.logging.Level
JDK-8013155core-libsjava.util.jar[pack200] improve performance of pack200
JDK-7192942core-libsjava.util:collections(coll) Inefficient calculation of power of two in HashMap
JDK-8020530core-svcjava.lang.managementNon heap memory size calculated incorrectly; IllegalArgumentException: committed = N should be < max
JDK-6566891core-svcjavax.managementRMIConnector: map value referencing map key in WeakHashMap prevents map entry to be removed
JDK-8023954core-svcjavax.managementMBean*Info.equals: throw NPE
JDK-8023529core-svcjavax.managementOpenMBeanInfoSupport.equals/hashCode throw NPE
JDK-8023669core-svcjavax.managementMBean*Info.hashCode : NPE
JDK-8009558core-svcdebuggerlinked_md.c::dll_build_name can get stuck in an infinite loop
JDK-8023786core-svctools(jdk) setjmp/longjmp changes the process signal mask on OS X
JDK-8028629deploydeployment_toolkitdeployJava.getBrowser() is broken and js.UserAgentTest fails because it always returns 'MSIE'
JDK-8023711deploywebstartRESOURCE HAS FUTURE EXPIRES MESSAGES ON JAVA CONSOLE WITH JRE 1.7.21
JDK-8016489deployplugin[macosx] FireFox: NPN_ConvertPoint is not being called on plugin main thread
JDK-8016513deploywebstartWebstart throws StringIndexOutOfBoundsException using property and Java-VM-args
JDK-8023938deploywebstart64-bit javaws.exe left behind in system32
JDK-8014528deploy Some Solaris sparc .so files still do not have execute bit set
JDK-8013948deployplugin[macosx] Unable type into online word games on MacOSX on Safari
JDK-8004051embeddedhotspotARM: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
JDK-8031743hotspotcompilerC2: loadI2L_immI broken for negative memory values
JDK-8032207hotspotcompilerC2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
JDK-8023472hotspotcompilerC2 optimization breaks with G1
JDK-8024830hotspotcompilerSEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get
JDK-8024919hotspotcompilerG1: SPECjbb2013 crashes due to a broken object reference
JDK-8029366hotspotcompilerShouldNotReachHere error when creating an array with component type of void
JDK-8014052hotspotcompilerJSR292: assert(end_offset == next_offset) failed: matched ending
JDK-8017065hotspotcompilerC2 allows safepoint checks to leak into G1 pre-barriers
JDK-8023004hotspotcompilerJSR 292: java.lang.RuntimeException: Original target method was called.
JDK-8027751hotspotcompilerC1 crashes in Weblogic with G1 enabled
JDK-8024838hotspotgcSignificant slowdown due to transparent huge pages
JDK-8025441hotspotgcG1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
JDK-8007074hotspotgcSIGSEGV at ParMarkBitMap::verify_clear()
JDK-8023720hotspotsvc(hotspot) setjmp/longjmp changes the process signal mask on OS X
JDK-8028412hotspotsvcAsyncGetCallTrace() is broken on x86 in JDK 7u40
JDK-8037340hotspotsvcLinux semaphores to use CLOCK_REALTIME
JDK-8021898hotspotcompilerBroken JIT compiler optimization for loop unswitching
JDK-8022585hotspotcompilerJVM crashes when ran with -XX:+PrintInlining
JDK-8022993hotspotcompilerConvert MAX_UNROLL constant to LoopMaxUnroll C2 flag
JDK-8026293hotspotcompilerSchedule part of G1 pre-barrier late
JDK-6990419hotspotgcCMS: Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
JDK-7145569hotspotgcG1: optimize nmethods scanning
JDK-8025305hotspotgcCleanup CardTableModRefBS usage in G1
JDK-8027454hotspotgcDo not traverse string table during G1 remark when treating them as strong roots during initial mark
JDK-8027455hotspotgcImprove symbol table scan times during gc pauses
JDK-8028391hotspotgcMake the Min/MaxHeapFreeRatio flags manageable
JDK-8023145hotspotgcG1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0
JDK-8026848hotspotgc-XX:+G1SummarizeRSetStats can result in wrong exit code and crash
JDK-8027756hotspotgcassert(!hr->isHumongous()) failed: code root in humongous region?
JDK-8006731hotspotjvmtiJSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic
JDK-7187554hotspotjvmtiJSR 292: JVMTI PopFrame needs to handle appendix arguments
JDK-7194607hotspotjvmtiVerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge
JDK-8006542hotspotjvmtiJSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds
JDK-8007037hotspotjvmtiJSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
JDK-6900441hotspotruntimePlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock
JDK-8017498hotspotruntimeJVM crashes when native code calls sigaction(sig) where sig>=0x20
JDK-7191817hotspotruntime-XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X
JDK-8013895hotspotgcG1: G1SummarizeRSetStats output on Linux needs improvement
JDK-8014078hotspotgcG1: improve remembered set summary information by providing per region type information
JDK-8015244hotspotgcG1: Verification after a full GC is incorrectly placed
JDK-8027476hotspotgcImprove performance of Stringtable unlink
JDK-7133122hotspotsvcSA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not
JDK-8025812hotspotsvctmtools/jmap/heap_config tests fail on Linux-ia32 because it 'Can't attach to the core file'
JDK-8028128hotspotsvcAdd a type safe alternative for working with counter based data
JDK-8017195other-libscorbaIntroduce option to setKeepAlive parameter on CORBA sockets
JDK-8031572security-libsjava.securityjarsigner -verify exits with 0 when a jar file is not properly signed
JDK-8028351security-libsorg.ietf.jgss:krb5JWS doesn't get authenticated when using kerberos auth proxy
JDK-8021788security-libs JarInputStream doesn't provide certificates for some file under META-INF
JDK-8013809security-libsjavax.net.ssldeadlock in SSLSocketImpl between between write and close
JDK-8024861security-libsjavax.securityIncomplete token triggers GSS-API NullPointerException
JDK-8019267security-libsorg.ietf.jgssNPE in AbstractSaslImpl when trace level >= FINER in KRB5
JDK-8016594security-libsorg.ietf.jgss:krb5Native Windows ccache still reads DES tickets
JDK-8016110toolslauncherJapanese char (MS932) 0x5C cannot be used as an argument when quoted
JDK-8030698toolsjconsoleSome messages in jconsole in 7u40 (and later) aren't displayed correctly
JDK-8030878toolsjconsoleJConsole issues meaningless message if SSL connection fails
JDK-8016271xmljax-wswsimport -clientjar does not create portable jars on windows due to hardcoded backslash
JDK-8009579xmljaxpXpathexception does not honor initcause()
JDK-8004476xmljavax.xml.transformXSLT Extension Functions Don't Work in WebStart
JDK-8015978xmljavax.xml.xpathIncorrect transformation of XPath expression "string(-0)"
JDK-8024707xmljaxpTransformerException : item() return null with node list of length != 1
JDK-8015092xmljaxpSchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression
JDK-8015243xmljaxp

SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI.




The following table lists the bug fixes included in JDK 7u55 release:

Bug Id CategorySub-CategoryDescription
JDK-7190349client-libs2d[macosx] Text (Label) is incorrectly drawn with a rotated g2d
JDK-8013569client-libs2d[macosx] JLabel preferred size incorrect on retina displays with non-default font size
JDK-6571600client-libsjava.awtJNI use results in UnsatisfiedLinkError looking for libmawt.so
JDK-8025588client-libsjava.awt[macosx] Frozen AppKit thread in 7u40
JDK-5049299core-libsjava.lang(process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion
JDK-8020191core-libsjava.langSystem.getProperty( " os.name " ) returns " Windows NT (unknown) " on Windows 8.1
JDK-8030822core-libsjava.time(tz) Support tzdata2013i
JDK-8019853core-libsjava.util.loggingBreak logging and AWT circular dependency
JDK-8026474deploydeployment_toolkitdeployJava.js versioncheck doesn't work in IE11
JDK-8028691deploypluginloading browser proxy via config script should not trigger JAR download
JDK-8029649deploypluginReduce dialog frequency when app is run multiple times
JDK-8033705deploypluginArray out of bounds exception in PluginMain.performSSVValidation
JDK-8033779deploypluginJRE 7u51 Plugin Failing to Run Older JRE Version < 1.6.0
JDK-8029922deploywebstart32-bit only Java Web Start apps fail to run on 32- and 64-bit JRE configs
JDK-8031579deploywebstartSpurious Missing Manifest Permissions Attribute Warning When Launching versioned Java Web Start app
JDK-8024830hotspotcompilerSEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get
JDK-8035283hotspotcompilerSecond phase of branch shortening doesn't account for loop alignment
JDK-8035618other-libscorba:rmi-iiopFour api/org_omg/CORBA TCK tests fail under plugin only

http://www.oracle.com/technetwork/java/javase/2col/7u55-bugfixes-2180733.html




The following table lists the bug fixes included in JDK 7u51 release:

Bug IdCategorySub-CategoryDescription
8023310client-libsjava.beansThread contention in the method Beans.IsDesignTime()
8027370core-libsjava.time(tz) Support tzdata2013h
8020943core-svcjava.lang.managementMemory leak when GCNotifier uses create_from_platform_dependent_str()
8026002deploypluginCertificate based DRS rule does not work when main jar is in nested resource block or extension
8027029deploypluginDeadlock in caching code launching application with a large number of jars (~100).
8027405deploypluginProperly configured LiveConnect Applets must work even on JREs below the baseline by default
8029135deploypluginESL not working for JNLP applications without an href
8016849deploypluginApplets don't get loaded and the Firefox crashes under Mac OS X
8025890deploypluginliveconnect dialog is showing the publisher unknown
8025956deploypluginWarning message appears in all the jar files not only the main jar file
8023822deploywebstartREGRESSION:NPE exception throws when Java Web start apps fails with no logging
8021257other-libscorbacom.sun.corba.se.** should be on restricted package list
8027943other-libscorbaserial version of com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandlerImpl changed in 7u45
8028215other-libscorbaORB.init fails with SecurityException if properties select the JDK default ORB
8014618security-libsjavax.net.sslNeed to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
8028111xmljaxpXML readers share the same entity expansion counter
8029038xmljaxpRevise fix for XML readers share the same entity expansion counter

http://www.oracle.com/technetwork/java/javase/2col/7u51-bugfixes-2100820.html




The following table lists the bug fixes included in JDK 7u40 release:

Bug IDComponentDescription
8001161client-libs[macosx] EmbeddedFrame doesn't become active window
8004316client-libsPrinting an image using AUTOSENSE fails to print
8015375client-libsEdits to text components hang for clipboard access
7068471client-libsNPE in sun.font.FontConfigManager.getFontConfigFont() when libfontconfig.so is not installed
7105640client-libsUnix printing does not check the result of exec'd lpr/lp command
7113017client-libsUse POSIX compliant include file headers in sun/awt/medialib/mlib_types.h
7151427client-libsPotential memory leak in error handling code in X11SurfaceData.c
7152519client-libsDependency on non-POSIX header file <link.h> causes portability problem
7181199client-libs[macosx] Startup is much slower in headless mode for apps using Fonts
7181438client-libs[OGL] Incorrect alpha used, during blit from SW to the texture.
8004821client-libsGraphics2D.drawPolygon() fails with IllegalPathStateException
8004859client-libsGraphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform.
8008535client-libsJDK7 Printing : CJK and Latin Text in a string overlap.
8012381client-libs[macosx] : Collation selection ignored when printing on MacOSX
8013810client-libsPrintServiceLookup.lookupPrintServices() does not return consistent result
8015334client-libsMemory leak when kerning is used on Windows
8015556client-libs[macosx] surrogate pairs do not render properly (show up as boxes or incorrect glyphs)
8015606client-libsText is not rendered correctly if destination buffer is custom
8019201client-libsRegression: java.awt.image.ConvolveOp throws java.awt.image.ImagingOpException
8011059client-libs[macosx] Make JDK demos look perfect on retina displays
6550588client-libsjava.awt.Desktop cannot open file with Windows UNC filename
7107957client-libsAWT: Native code should include fcntl.h and unistd.h rather than sys/fcntl.h and sys/unistd.h
7109977client-libs[macosx] MixingInHwPanel.java test fails on Mac trying to click in the reserved corner
7124520client-libs[macosx] re:6373505 Toolkit.getScreenResolution() != GraphicsConfiguration.getNormalizingTransform()
7130662client-libsGTK file dialog crashes with a NPE
7146572client-libsenableInputMethod(false) does not work in the TextArea and TextField on the linux platform
7154778client-libs[macosx] NSView-based implementation of sun.awt.EmbeddedFrame
7155378client-libsNeed utils api/field which determines the dead key
7161437client-libs[macosx] awt.FileDialog doesn't respond appropriately for mac when selecting folders
7170655client-libsFrame size does not follow font size change with XToolkit
7170996client-libsRegression : Cannot use IME on JComboBox Japanese(7026055) II
7175183client-libs[macosx] Objective-C exception thrown when switching monitor configuration
7179050client-libs[macosx] Make LWAWT be able to run on AppKit thread
7181710client-libs[macosx] jawt_md.h shipped with jdk is outdated
7193169client-libsThe code example in javadoc of Component.java misses 'implements' keyword
7194469client-libsPressing the Enter key results in an alert tone beep when focus is TextField
7194902client-libs[macosx] closed/java/awt/Button/DoubleActionEventTest/DoubleActionEventTest failed since jdk8b49
7196547client-libs[macosx] Implement dead key detection for KeyEvent
7197619client-libsUsing modifiers for the dead key detection on Windows
7198229client-libs[macosx] Painting during resizing of the frame should be more smooth
7199180client-libs[macosx] Dead keys handling for input methods
7199783client-libsSetting cursor on DragSourceContext does not work on OSX
8000423client-libsDiacritic is not applyed to a base letter on Linux
8000435client-libs[macosx] Button painting error under Java 7 on Mac
8000629client-libs[macosx] Blurry rendering with Java 7 on Retina display
8003169client-libs[macosx] JVM crash after disconnecting from projector
8004344client-libsA crash in ToolkitErrorHandler() in XlibWrapper.c
8005405client-libs[macosx] Drag and Drop: wrong animation when dropped outside any drop target.
8005465client-libs[macosx] Evaluate if checking for the -XstartOnFirstThread is still needed in awt.m
8005932client-libsJava 7 on mac os x only provides text clipboard formats
8005997client-libs[macosx] Printer Dialog opens an additional title bar
8006417client-libsJComboBox.showPopup(), hidePopup() fails in JRE 1.7 on OS X
8006634client-libsUnify LWCToolkit.invokeAndWait() and sun.awt.datatransfer.ToolkitThreadBlockedHandler
8006941client-libs[macosx] Deadlock in drag and drop
8008660client-libsFailure in 2D Queue Flusher thread on Mac
8009012client-libs[macosx] DisplayChangedListener is not implemented in LWWindowPeer/CGraphicsEnvironment
8009911client-libs[macosx] SWT app freeze when going full screen using Java 7 on Mac
8011686client-libs[macosx] AWT accidentally disables the NSApplicationDelegate of SWT, causing loss of OS X integration functionality
8012586client-libs[x11] Modal dialogs for fullscreen window may show behind its owner
8014821client-libsRegression: Focus issues with Oracle WebCenter Capture applet
8015303client-libs[macosx] Application launched via custom URL Scheme does not receive URL
8019265client-libs[macosx] apple.laf.useScreenMenuBar regression comparing with jdk6
8020038client-libs[macosx] Incorrect usage of invokeLater() and likes in callbacks called via JNI from AppKit thread
8020298client-libs[macosx] Incorrect merge in the lwawt code.
8020371client-libs[macosx] applets with Drag and Drop fail with IllegalArgumentException
8021381client-libsJavaFX scene included in Swing JDialog not starting from Web Start
7186794client-libsSetter not found. PropertyDescriptor(PropertyDescriptor,PropertyDescriptor)
7187618client-libsPropertyDescriptor Performance Slow (continue)
7189112client-libsjava.beans.Introspector misses write methods
7192955client-libsIntrospector overide PropertyDescriptor for generic type field defined in super class
8013416client-libsJava Bean Persistence with XMLEncoder
8013557client-libsXMLEncoder in 1.7 can't encode objects initialized in no argument constructor
8009168client-libsaccessibility.properties syntax issue
8020983client-libsOutOfMemoryError caused by non garbage collected JPEGImageWriter Instances
4199622client-libsRFE: JComboBox shouldn't sending ActionEvents for keyboard navigation
4310381client-libsText in multi-row/col JTabbedPane tabs can be truncated/clipped
4631925client-libsJColor Chooser is not fully accessible
6337518client-libsNull Arrow Button Throws Exception in BasicComboBoxUI
6436314client-libsVector could be created with appropriate size in DefaultComboBoxModel
6671481client-libsNPE at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection
6877495client-libsJTextField and JTextArea does not support supplementary characters
7024118client-libspossible hardcoded mnemonic for JFileChooser metal and motif l&f
7032018client-libsThe file list in JFileChooser does not have an accessible name
7032436client-libsWhen running with the Nimbus look and feel, the JFileChooser does not display mnemonics
7049024client-libsDnD fails with JTextArea and JTextField
7055065client-libsRegression : JDK 7 : NullPointerException when sorting JTable with empty cell
7068740client-libsIf you wrap a JTable in a JLayer you can't use the page up and page down cmds
7089914client-libsFocus on image icons are not visible in javaws cache with high contrast mode
7123767client-libsWrong tooltip location in Multi-Monitor configurations
7124525client-libs[macosx] No animation on certain Swing components in Aqua LaF
7129742client-libsUnable to view focus in Non-Editable TextArea
7132385client-libs[macosx] IconifyTest of RepaintManager could use some delay
7147075client-libsJTextField doesn't get focus or loses focus forever
7154030client-libsjava.awt.Component.hide() does not repaint parent component
7155298client-libsEditable TextArea/TextField are blocking GUI applications from exit
7155887client-libsComboBox does not display focus outline in GTK L&F
7163696client-libsJCK Swing interactive test JScrollBarTest0013 fails with Nimbus and GTK L&Fs
7163828client-libs[macosx] White-on-yellow "Got Milk?" tooltip in SwingSet2 is empty.
7167780client-libsHang javasoft.sqe.tests.api.javax.swing.Timer.Ctor2Tests
7181403client-libsInvalid MouseEvent conversion with SwingUtilities.convertMouseEvent
7184945client-libs[macosx] NPE in AquaComboBoxUI since jdk7u6b17, jdk8b47
7188612client-libsJTable's AccessibleJTable throws IllegalComponentStateException instead of null
7194184client-libsJColorChooser swatch cannot accessed from keyboard
7197320client-libs[macosx] Full Screen option missing when Window.documentModified
7199708client-libsFileChooser crashs when opening large folder
8002077client-libsPossible mnemonic issue on JFileChooser Save button on nimbus L&F
8002114client-libsfix failed for 7160951: [macosx] ActionListener called twice for JMenuItem using ScreenMenuBar
8003400client-libsJTree scrolling problem when using large model in WindowsLookAndFeel.
8003830client-libsNullPointerException in BasicTreeUI.Actions when getPathBounds returns null
8004298client-libsNPE in WindowsTreeUI.ensureRowsAreVisible
8004866client-libs[macosx] HiDPI support in Aqua L&F
8005019client-libsJTable passes row index instead of length when inserts selection interval
8007006client-libs[macosx] Closing subwindow loses main window menus.
8008366client-libs[macosx] ActionListener called twice for JMenuItem using ScreenMenuBar
8013370client-libsNull pointer exception when adding more than 9 accelators to a JMenuBar
7038105core-libsFile.isHidden() should return true for pagefile.sys and hiberfil.sys
8003992core-libsFile and other classes in java.io do not handle embedded nulls properly
8007609core-libsWinNTFileSystem_md.c should correctly check value returned from realloc
8011950core-libsjava.io.File.createTempFile enters infinite loop when passed invalid data
8016063core-libsgetFinalAttributes should use FindClose
7103957core-libsNegativeArraySizeException while initializing class IntegerCache
7193463core-libsTerminator.setup should ignore IAE when registering signal handlers
8000817core-libsReinstate accidentally removed sleep() from ProcessBuilder/Basic.java
8003228core-libs(props) sun.jnu.encoding should be set to UTF-8 [macosx]
8016046core-libs(process) Strict validation of input should be security manager case only [win]
8021946core-libsDisabling sun.reflect.Reflection.getCallerCaller(int) by default breaks several frameworks and libraries
6984705core-libsJSR 292 method handle creation should not go through JNI
7058630core-libsJSR 292 method handle proxy violates contract for Object methods
8005345core-libsJSR 292: JDK performance tweaks
8016814core-libssun.reflect.Reflection.getCallerClass returns the wrong stack frame
6512101core-libsNetworkInterface#getDisplayName() method returns wrong encoding for Japanese OS
6953455core-libsCookieStore.add() cannot handle null URI parameter, contrary to the API specification
7078386core-libsNetworkInterface.getNetworkInterfaces() may return corrupted results on linux
7084560core-libsCrash in net.dll
7118907core-libsInetAddress.isReachable() should return false if sendto fails with EHOSTUNREACH
7163874core-libsInetAddress.isReachable should support pinging 0.0.0.0
7181353core-libsUpdate error message to distinguish native OOM and java OOM in net
7188755core-libsCrash due to missing synchronization on gconf_client in DefaultProxySelector.c
7190254core-libsNetworkInterface getFlags implementation should support full integer bit range for flags value
7199219core-libsProxy-Connection headers set incorrectly when a HttpClient is retrieved from the Keep Alive Cache
7199862core-libsMake sure that a connection is still alive when retrieved from KeepAliveCache in certain cases
8000525core-libsJava.net.httpcookie api does not support 2-digit year format
8007315core-libsHttpURLConnection.filterHeaderField method returns null where empty string is expected
8009650core-libsHttpClient available() check throws SocketException when connection has been closed
8010282core-libssun.net.www.protocol.jar.JarFileFactory.close(JarFile) should be thread-safe
8011234core-libsPerformance regression with ftp protocol when uploading in image mode
8013140core-libsHeap corruption with NetworkInterface.getByInetAddress() and long i/f name
6429204core-libs(se) Concurrent Selector.register and SelectionKey.interestOps can ignore interestOps
6633549core-libs(dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
7115070core-libs(fs) lookupPrincipalByName/lookupPrincipalByGroupName should treat ESRCH as not found.
7129029core-libs(fs) Unix file system provider should be buildable on platforms that don't support O_NOFOLLOW
7132889core-libs(se) AbstractSelectableChannel.register and configureBlocking not safe from asynchronous close
7146506core-libs(fc) Add EACCES check to the return of fcntl native method
7152948core-libs(dc) DatagramDispatcher.c should memset msghdr to make it portable to other platforms
7156873core-libs(zipfs) FileSystems.newFileSystem(uri, env) fails for uri with escaped octets
7157656core-libs(zipfs) SeekableByteChannel to entry in zip file always reports its position as 0
7166048core-libs(se) EPollArrayWrapper.c no longer needs to define epoll data structures
7168172core-libs(fs) Files.isReadable slow on Windows
7172826core-libs(se) Selector based on the Solaris event port mechanism
7179305core-libs(fs) Method name sun.nio.fs.UnixPath.getPathForExecptionMessage is misspelled
7190219core-libs(bf) CharBuffer.put(String,int,int) modifies position even if BufferOverflowException thrown
7190897core-libs(fs) Files.isWritable method returns false when the path is writable (win)
7191556core-libs(fs) UnixNativeDispatcher.getextmntent should be moved into platform specific code
7191587core-libs(se) SelectionKey.interestOps does not defer changing the interest set to the next select [macosx]
8002390core-libs(zipfs) Problems moving files between zip file systems
8009751core-libs(se) Selector spin when select, close and interestOps(0) invoked at same time (lnx)
8011128core-libs(fs) Files.createDirectory fails if the resoved path is exactly 248 characters long
8012019core-libs(fc) Thread.interrupt triggers hang in FileChannelImpl.pread (win)
6183404core-libsMany eudc characters are incorrectly mapped in MS936 and GBK converter
6610897core-libsNew constructor in sun.tools.java.ClassPath builds a path using File.separator instead of File.pathS
7187876core-libsClassCastException in TCPTransport.executeAcceptLoop
7131459core-libs[Fmt-De] DecimalFormat produces wrong format() results when close to a tie
7163865core-libsPerformance improvement for DateFormatSymbols.getZoneIndex(String)
8000529core-libsRegression : SimpleDateFormat incorrectly parses dates formatted with Z and z pattern letters
8005277core-libsRegression in JDK 7 in Bidi implementation
8020054core-libs(tz) Support tzdata2013d
7164256core-libsEnumMap clone doesn't clear the entrySet keeping a reference to the original Map
7166055core-libsJavadoc for WeakHashMap contains misleading advice
7198073core-libs(prefs) user prefs not saved [macosx]
8011200core-libs(coll) Optimize empty ArrayList and HashMap
8019381core-libsHashMap.isEmpty is non-final, potential issues for get/remove
7132378core-libsRace in FutureTask if used with explicit set and get ( not Runnable )
7161229core-libsPriorityBlockingQueue keeps hard reference to last removed element
7110151core-libsTo use underlying platform's zlib library for Java zlib support
7166955core-libs(pack200) JNI_GetCreatedJavaVMs needs additional checking
7188852core-libsMove implementation of De/Inflater.getBytesRead/Writtten() to java from native
8005466core-libsJAR file entry hash table uses too much memory (zip_util.c)
7163898core-libsadd isLoggable() check to doLog()
8010309core-libsImprove PlatformLogger.isLoggable performance by direct mapping from an integer to Level
8017174core-libsNPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
8020228core-libsRestore the translated version of logging_xx.properties
7042126core-libs(alt-rt) HashMap.clone implementation should be re-examined
8006593core-libsInitialization bottleneck in Maps due to use of j.u.Random
7094176core-libs(tz) Incorrect TimeZone display name when DST not applicable / disabled
8009638core-libsWrong comment for PL in LocaleISOData, 1989 forward Poland is Republic of Poland
8015570core-libsUse long comparison in Rule.getRules().
7174887core-libsDeadlock in jndi ldap connection cleanup
8000487core-libsJava JNDI connection library on ldap conn is not honoring configured timeout
7110104core-svcIt should be possible to stop and start JMX Agent at runtime.
7164191core-svcproperties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario
7173044core-svcMemory monitor demo hangs the system if MemoryUsage obj returns -1 .
8015604core-svcJDP packets containing ideographic characters are broken
8001621core-svcUpdate awk scripts that check output from jps/jcmd
8002048core-svcProtocol for discovery of manageable Java processes on a network
8008089core-svcDelete OS dependent check in JdkFinder.getExecutable()
8003192deployNeed to be able to launch 'About Java' from command line
8017164deployInvalid URL to GetJava web page could be formed in deployJava.js in some cases
8020390deployLSP: LocalSecurityPolicy is initialized too soon
8021585deploySetting trace level 5 in console does not enable all tracing.
8021907deployDRS: certificate element algorithm is supposed to default to SHA-256
8008377deployhttps dialog: 'More information' is open below the main dialog on Linux
8020941deployDRS: Make ruleset element version attribute mandatory
8006165deployfirefox freeze with java.com version detect applet
8010636deployUser responsibilities are not updated with all clsid's with jre 6u32 and higher
8015640deployREGRESSION: Security boxes appear 2 times with uppercase jnlp codebase
8015842deployMulti JREs: Unable to use the selected version to load an non-jnlp applet
8016005deployRemote debugging for applets in a browser is no longer working
8016225deployThe behavior after System.exit() is different between JRE 1.7_21 and JRE 1.7_17
8017218deployREGRESSION:Fail to detect Java after upgrade to 7u25 on IE (PnP fails to register plugin in IE)
8017249deployPlug-in does not report version
8019177deploygetdocument base should behave the same as getcodebase for file applets
8019425deployLocal Security Policy: Any "run" rule must have at least one application qualifier
8019870deployJCP shows link to security policy when one doesn't exist
8020160deployLSP: rename LocalSecurityPolicy (LSP) to DeploymentRuleSet (DRS)
8022042deployJava Plugin Runtime parameter for setting classpath does not work
8000555deployBasicService.showDocument() API fails to launch the browser in Windows XP
8009768deploy-XX:MaxGCPauseMillis value set in control panel is ignored by javaws
8010014deployUnable to execute javaws -uninstall
8017776deploySwing Event Thread does not use JNLP class loader
8000692embeddedRemove old KERNEL code
8005722embeddedAssert in c1_LIR.hpp incorrect wrt to number of register operands
7171028globalizationdots are missed in the datetime for Slovanian
7189611globalizationVenezuela current Currency should be Bs.F.
6340864hotspotImplement vectorization optimizations in hotspot-server
6443505hotspotIdeal() function for CmpLTMask
6658428hotspotC2 doesn't inline java method if corresponding intrinsic failed to inline.
6711908hotspotJVM needs direct access to some annotations
6910461hotspotRegister allocator may insert spill code at wrong insertion index
6910464hotspotLookupswitch and Tableswitch default branches not recognized as safepoints
7023639hotspotJSR 292 method handle invocation needs a fast path for compiled code
7023898hotspotIntrinsify AtomicLongFieldUpdater.getAndIncrement()
7092905hotspotC2: Keep track of the number of dead nodes
7119644hotspotIncrease superword's vector size up to 256 bits
7145024hotspotCrashes in ucrypto related to C2
7147064hotspotassert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c <=
7147416hotspotLogCompilation tool does not work with post parse inlining
7147464hotspotJava crashed while executing method with over 8k of dneg operations
7147740hotspotadd assertions to check stack alignment on VM entry from generated code (x64)
7147744hotspotCTW: assert(false) failed: infinite EA connection graph build
7148109hotspotC2 compiler consumes too much heap resources
7148486hotspotAt a method handle call returning with an exception may call the runtime with misaligned stack (x64)
7152955hotspotprint_method crashes with null root
7152957hotspotVM crashes with assert(false) failed: bad AD file
7152961hotspotInlineTree::should_not_inline may exit prematurely
7154997hotspotassert(false) failed: not G1 barrier raw StoreP
7161796hotspotPhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror
7162094hotspotLateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node
7169782hotspotC2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool)
7169934hotspotpow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer
7170053hotspotcrash in C2 when using -XX:+CountCompiledCalls
7170463hotspotC2 should recognize "obj.getClass() == A.class" code pattern
7171890hotspotC1: add Class.isInstance intrinsic
7172640hotspotC2: instrinsic implementations in LibraryCallKit should use argument() instead of pop()
7172843hotspotC1: fix "assert(has_printable_bci()) failed: _printable_bci should have been set"
7173340hotspotC2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable
7174218hotspotremove AtomicLongCSImpl intrinsics
7177003hotspotC1: LogCompilation support
7177923hotspotSIGBUS on sparc in compiled code for java.util.Calendar.clear()
7181658hotspotCTW: assert(t->meet(t0) == t) failed: Not monotonic
7187454hotspotstack overflow in C2 compiler thread on Solaris x86
7188276hotspotJSR 292: assert(ct == T_OBJECT) failed: rt=T_OBJECT, ct=13
7190310hotspotInlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
7192167hotspotJSR 292: C1 has old broken code which needs to be removed
7192406hotspotJSR 292: C2 needs exact return type information for invokedynamic and invokehandle call sites
7192963hotspotassert(_in[req-1] == this) failed: Must pass arg count to 'new'
7192964hotspotassert(false) failed: bad AD file
7192965hotspotassert(is_aligned_sets(size)) failed: mask is not aligned, adjacent sets
7193318hotspotC2: remove number of inputs requirement from Node's new operator
7196242hotspotJSR 292: vm/mlvm/indy/stress/java/loopsAndThreads crashed
7197033hotspotmissing ResourceMark for assert in Method::bci_from()
7198499hotspotTraceTypeProfile as diagnostic option
7199010hotspotincorrect vector alignment
7200001hotspotfailed C1 OSR compile doesn't get recompiled with C2
7200163hotspotadd CodeComments functionality to assember stubs
7200233hotspotC2: can't use expand rules for vector instruction rules
7201026hotspotadd vector for shift's count
8000232hotspotNPG: SIGSEGV in Dependencies::DepStream::check_klass_dependency on solaris-x64
8000263hotspotJSR 292: signature types may appear to be unloaded
8000313hotspotC2 should use jlong for 64bit values
8000592hotspotImprove adlc usability
8000740hotspotremove LinkWellKnownClasses
8000805hotspotJMM issue: short loads are non-atomic
8000821hotspotJSR 292: C1 fails to call virtual method (JRUBY-6920)
8001077hotspotremove ciMethod::will_link
8001101hotspotC2: more general vector rule subsetting
8001183hotspotincorrect results of char vectors right shift operaiton
8001635hotspotassert(in_bb(n)) failed: must be
8002294hotspotassert(VM_Version::supports_ssse3()) failed:
8003135hotspotHotSpot inlines and hoists the Thread.currentThread().isInterrupted() out of the loop
8003983hotspotLogCompilation tool is broken since c1 support
8004741hotspotMissing compiled exception handle table entry for multidimensional array allocation
8004835hotspotImprove AES intrinsics on x86
8005033hotspotclear high word for integer pop count on SPARC
8005055hotspotpass outputStream to more opto debug routines
8005418hotspotJSR 292: virtual dispatch bug in 292 impl
8005419hotspotImprove intrinsics code performance on x86 by using AVX2
8005439hotspotno message about inline method if it specifed by CompileCommand
8005522hotspotuse fast-string instructions on x86 for zeroing
8005544hotspotUse 256bit YMM registers in arraycopy stubs on x86
8005821hotspotC2: -XX:+PrintIntrinsics is broken
8005956hotspotC2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
8006031hotspotLibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640
8006095hotspotC1: SIGSEGV w/ -XX:+LogCompilation
8006430hotspotTraceTypeProfile is a product flag while it should be a diagnostic flag
8006807hotspotC2 crash due to out of bounds array access in Parse::do_multianewarray
8007144hotspotIncremental inlining mistakes some call sites for dead ones and doesn't inline them
8007294hotspotReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
8007402hotspotCode cleanup to remove Parfait false positive
8007439hotspotC2: adding successful message of inlining
8007959hotspotUse expensive node logic for more math nodes
8008555hotspotDebugging code in compiled method sometimes leaks memory
8009460hotspotC2compiler crash in machnode::in_regmask(unsigned int)
8009472hotspotPrint additional information for 8004640 failure.
8009761hotspotDeoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
8010437hotspotguarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
8010770hotspotZero: back port of 8000780 to HS24 broke JSR 292
8011102hotspotClear AVX registers after return from JNI call
8011901hotspotUnsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
8014189hotspotJVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()
8016157hotspotDuring CTW: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
8020215hotspotDifferent execution plan when using JIT vs interpreter
8020433hotspotCrash when using -XX:+RestoreMXCSROnJNICalls
4988100hotspotoop_verify_old_oop appears to be dead
6725714hotspotpar compact - add a table to speed up bitmap searches
6761744hotspotHotspot crashes if process size limit is exceeded
6818524hotspotG1: use ergonomic resizing of PLABs
6921087hotspotG1: remove per-GC-thread expansion tables from the fine-grain remembered sets
7041879hotspotG1: introduce stress testing parameter to cause frequent evacuation failures
7068625hotspotTesting 8 bytes of card table entries at a time speeds up card-scanning
7114678hotspotG1: various small fixes, code cleanup, and refactoring
7122222hotspotGC log is limited to 2G for 32-bit
7127697hotspotG1: remove dead code after recent concurrent mark changes
7130974hotspotG1: Remove G1ParCopyHelper
7131629hotspotGeneralize the CMS free list code
7143490hotspotG1: Remove HeapRegion::_top_at_conc_mark_count
7143511hotspotG1: Another instance of high GC Worker Other time (50ms)
7143858hotspotG1: Back to back young GCs with the second GC having a minimally sized eden
7145441hotspotG1: collection set chooser-related cleanup
7146246hotspotG1: expose some of the -XX flags that drive which old regions to collect during mixed GCs
7147724hotspotG1: hang in SurrogateLockerThread::manipulatePLL
7151089hotspotPS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages
7152791hotspotwbapi tests fail on cygwin
7157073hotspotG1: type change size_t -> uint for region counts / indexes
7158457hotspotstress: jdk7 u4 core dumps during megacart stress test run
7158682hotspotG1: Handle leak when running nsk.sysdict tests
7160613hotspotVerifyRememberedSets doesn't work with CompressedOops
7163848hotspotG1: Log GC Cause for a GC
7167437hotspotCan't build on linux without precompiled headers
7168294hotspotG1: Some Full GCs incorrectly report GC cause as "No GC"
7169056hotspotAdd gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit()
7169062hotspotCMS: Assertion failed with -XX:+ObjectAlignmentInBytes=64
7171936hotspotLOG_G incorrectly defined in globalDefinitions.hpp
7172279hotspotG1: Clean up TraceGen0Time and TraceGen1Time data gathering
7172388hotspotG1: _total_full_collections should not be incremented for concurrent cycles
7173460hotspotG1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1
7173712hotspotG1: Duplicated code in G1UpdateRSOrPushRefOopClosure::do_oop_nv()
7173959hotspotJvm crashed during coherence exabus (tmb) testing
7176220hotspot'Full GC' events miss date stamp information occasionally
7176479hotspotG1: JVM crashes on T5-8 system with 1.5 TB heap
7178361hotspotG1: Make sure that PrintGC and PrintGCDetails use the same timing for the GC pause
7182260hotspotG1: Fine grain RSet freeing bottleneck
7184772hotspotG1: Incorrect assert in HeapRegionLinkedList::add_as_head()
7185699hotspotG1: Prediction model discrepancies
7186737hotspotUnable to allocate bit maps or card tables for parallel gc for the requested heap
7188176hotspotThe JVM should differentiate between T and M series and adjust GC ergonomics
7192128hotspotG1: Extend fix for 6948537 to G1's BOT
7193157hotspotG1: Make some develpflags available in product builds
7194409hotspotos::javaTimeNanos() shows hot on CPU_CLK_UNHALTED profiles
7194633hotspotG1: Assertion and guarantee failures in block offset table
7197666hotspotjava -d64 -version core dumps in a box with lots of memory
7197906hotspotBlockOffsetArray::power_to_cards_back() needs to handle > 32 bit shifts
7198130hotspotG1: PrintReferenceGC output comes out of order
7200261hotspotG1: Liveness counting inconsistencies during marking verification
8000311hotspotG1: ParallelGCThreads==0 broken
8000831hotspotHeap verification output incorrect/incomplete
8001424hotspotG1: Rename certain G1-specific flags
8001425hotspotG1: Change the default values for certain G1 specific flags
8004170hotspotG1: Verbose GC output is not getting flushed to log file using JDK 8
8005032hotspotG1: Cleanup serial reference processing closures in concurrent marking
8006242hotspotG1: WorkerDataArray<T>::verify() too strict for double calculations
8006894hotspotG1: Number of marking threads missing from PrintFlagsFinal output
8006954hotspotGC Cause equals No GC for CMS background collection in the trace GC event
8007003hotspotParNew sends the heap summary too early
8007036hotspotG1: Too many old regions added to last mixed GC
8007221hotspotG1: concurrent phase durations do not state the time units ("secs")
8008546hotspotWRONG G1CONFIDENCEPERCENT RESULTS IN GUARANTEE(VARIANCE() > -1.0) FAILED
8008737hotspotThe trace event vm/gc/heap/summary is missing for CMS
8008790hotspotPromotion failed tracing event for all GCs
8008916hotspotG1: Evacuation failed tracing event
8008917hotspotCMS: Concurrent mode failure tracing event
8008918hotspotReference statistics events for the tracing framework
8008920hotspotTracing events for heap statistics
8009032hotspotImplement evacuation info event
8009232hotspotImprove stats gathering code for reference processor
8009536hotspotG1: Apache Lucene hang during reference processing
8009723hotspotCMS logs "concurrent mode failure" twice when using (disabling) -XX:-UseCMSCompactAtFullCollection
8009940hotspotG1: assert(_finger == _heap_end) failed, concurrentMark.cpp:809
8009992hotspotPrepare tracing of promotion failed for integration of evacuation failed
8010090hotspotGC ID has the wrong type
8010289hotspotPSParallelCompact::marking_phase should use instance GCTracer
8010294hotspotRefactor HeapInspection to make it more reusable
8010463hotspotG1: Crashes with -UseTLAB and heap verification
8010514hotspotG1: Concurrent mode failure tracing event
8010780hotspotG1: Eden occupancy/capacity output wrong after a full GC
8010916hotspotAdd tenuring threshold to young garbage collection events
8011891hotspotThe vm/gc/heap/heap_summary_after_gc event for CMS contains old data
8012086hotspotThe object count event should only send events for instances occupying more than 0.5% of the heap
8012102hotspotCollectedHeap::ensure_parsability is not always called during heap inspection
8012335hotspotG1: TemplateInterpreter do_oop_store passes a compressed oop to g1_write_barrier_post
8012455hotspotMissing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime
8012572hotspotProblemList.txt : Exclude sun/tools/jmap/Basic.sh for short term
8012715hotspotG1: GraphKit accesses PtrQueue::_index as int but is size_t
8013934hotspotGarbage collection event for CMS has wrong cause for System.gc()
8015237hotspotParallelize string table scanning during strong root processing
8015683hotspotobject_count_after_gc should have the same timestamp for all events
8015972hotspotRefactor the sending of the object count after GC event
8016170hotspotGC id variable in gcTrace.cpp should use typedef GCId
8016556hotspotG1: Use ArrayAllocator for BitMaps
8017070hotspotG1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed
8005849hotspotJEP 167: Event-Based JVM Tracing
8006757hotspotRefactor Socket and File I/O tracing
8007000hotspotSome JFR OS events missing on OS X
8012979hotspotTestJavaMonitorWait fails on Windows
8013941hotspotRemove JFR TestGCEventExplicit and TestGCEventImplict
8014064hotspotEvent recording/recording_setting has erroneous metadata
8014894hotspotPossible to create unparsable JFR file
8015621hotspotOnly allow event (type) to be configured once per .jfc file
8016131hotspotnsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
8016222hotspotEnable all Exceptions disables errors Errors
8016315hotspotobject_alloc events are in the wrong producer in default.jfc
8016622hotspotReenable TestDefaultPresets
8019921hotspotNo CPULoad-events when recording a GlassFish instance
8020367hotspotCannot get default presets from FlightRecorderMBean
8020701hotspotAvoid crashes in WatcherThread
6294277hotspotjava -Xdebug crashes on SourceDebugExtension attribute larger than 64K
6843375hotspotDebuggee VM crashes performing mark-sweep-compact
7093328hotspotJVMTI: jvmtiPrimitiveFieldCallback always report 0's for static primitives
7123170hotspotJCK vm/jvmti/ResourceExhausted/resexh001/resexh00101/ tests fails since 7u4 b02
7160924hotspotjvmti: GetPhase returns incorrect phase before VMInit event is issued
7178846hotspotIterateThroughHeap: heap_iteration_callback passes a negative size for big array
7182152hotspotInstrumentation hot swap test incorrect monitor count
7187046hotspotCrash in ClassFileParser on solaris-ia32 during RetransformClasses
8000459hotspotassert(java_lang_String::is_instance(entry)) failure with various mlvm tests
6444286hotspotPossible naked oop related to biased locking revocation safepoint in jni_exit()
6871190hotspotDon't terminate JVM if it is running in a non-interactive session
6995781hotspotRFE: Native Memory Tracking (Phase 1)
7107135hotspotStack guard pages are no more protected after loading a shared library with executable stack
7116786hotspotRFE: Detailed information on VerifyErrors
7127792hotspotAdd the ability to change an existing PeriodicTask's execution interval
7129724hotspotMAC: Core file location is wrong in crash report
7148126hotspotConstantPoolCacheEntry::print prints to wrong stream
7150046hotspotSIGILL on sparcv9 fastdebug
7150058hotspotAllocate symbols from null boot loader to an arena for NMT
7151532hotspotDCmd for hotspot native memory tracking
7152031hotspotHotspot needs updated xawt path [macosx]
7152671hotspotRFE: Windows decoder should add some std dirs to the symbol search path
7157695hotspotAdd windows implementation of socket interface
7159772hotspotinstanceKlass::all_fields_count() returns incorrect total field count
7161732hotspotImprove handling of thread_id in OSThread
7167142hotspotIssue warning when finding a .hotspotrc or .hotspot_compiler file that isn't used
7167406hotspot(Zero) Fix for InvokeDynamic needed
7170638hotspotenable support for dtrace compatible sdt probes on GNU/Linux
7172708hotspot32/64 bit type issues on Windows after Mac OS X port
7176856hotspotadd the JRE name to the error log
7177409hotspotPerf regression in JVM_GetClassDeclaredFields after generic signature changes
7179383hotspotMaxDirectMemorySize argument parsing is broken for values >2G
7181986hotspotNMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest
7181989hotspotNMT ON: Assertion failure when NMT checks thread's native stack base address
7182543hotspotNMT ON: Aggregate a few NMT related bugs
7185614hotspotNMT ON: "check by caller" assertion failed on nsk ThreadMXBean test
7186778hotspotMachO decoder implementation for MacOSX
7187429hotspotNMT ON: Merge failure should cause NMT to shutdown
7188594hotspotPrint statistic collected by NMT with VM flag
7191124hotspotOptimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT
7192916hotspotHotspot development launcher should use DYLD_LIBRARY_PATH on OS X
7199092hotspotNMT: NMT needs to deal overlapped virtual memory ranges
7200092hotspotMake NMT a bit friendlier to work with
7200297hotspotjdwp and hprof code do not handle multiple sun.boot.library.path elements correctly
8001592hotspotNMT: assertion failed: assert(_amount >= amt) failed: Just check: memBaseline.hpp:180
8002273hotspotNMT to report JNI memory leaks when -Xcheck:jni is on
8003487hotspotNMT: incorrect assertion in VMMemPointerIterator::remove_released_region method (memSnapshot.cpp)
8003591hotspotAbstract_VM_Version::internal_vm_info_string needs to stringify FLOAT_ARCH for ease of use
8004713hotspotStackoverflowerror thrown when thread stack straddles 0x8000000 in 32 bit jvms
8004902hotspotcorrectness fixes motivated by contended locking work (6607129)
8004903hotspotVMThread::execute() calls Thread::check_for_valid_safepoint_state() on concurrent VM ops
8005048hotspotNMT: #loaded classes needs to just show the # defined classes
8005936hotspotPrintNMTStatistics doesn't work for normal JVM exit
8006431hotspotos::Bsd::initialize_system_info() sets _physical_memory too large
8007779hotspotos::die() on solaris should generate core file
8008071hotspotCrashed in promote_malloc_records() with Kitchensink after 19 days
8008081hotspotPrint outs do not have matching arguments
8009302hotspotMac OS X: JVM crash on infinite recursion on Appkit Thread
8009777hotspotNMT: add new NMT dcmd to control auto shutdown option
8011161hotspotNMT: Memory leak when encountering out of memory error while initializing memory snapshot
8011952hotspotMissing ResourceMarks in TraceMethodHandles
8012212hotspotWant to link against kstat on solaris x86 as well as sparc
8013398hotspotAdjust number of stack guard pages on systems with large memory page size
8013651hotspotNMT: reserve/release sequence id's in incorrect order due to race
8014611hotspotreserve_and_align() assumptions are invalid on windows
8016074hotspotNMT: assertion failed: assert(thread->thread_state() == from) failed: coming from wrong thread state
6310967hotspotSA: jstack -m produce failures in output
7087969hotspotGarbageCollectorMXBean notification contains ticks vs millis
7133111hotspotlibsaproc debug print should be printed as unsigned long to fit large numbers on 64bit platform
7145358hotspotSA throws ClassCastException for partially loaded ConstantPool
7148488hotspotNeed a mechanism to test the diagnostic framework parser
7154641hotspotServicability agent should work on platforms other than x86, sparc
7160570hotspotIntrinsification support for tracing framework
7162063hotspotlibsaproc debug print should format size_t correctly on 64bit platform
7162400hotspotIntermittent java.io.IOException: Bad file number during HotSpotVirtualMachine.executeCommand
7162726hotspotWrong filter predicate of visible locals in SA JSJavaFrame
7175133hotspotjinfo failed to get system properties after 6924259
7177128hotspotSA cannot get correct system properties after 7126277
7178741hotspotSA: jstack -m produce UnalignedAddressException in output (Linux)
7196045hotspotPossible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API.
8000973hotspotSA on windows thread inspection is broken
8004840hotspotJstack seems to output unnecessary information in 7u9
8006400hotspotAdd support for defining trace types in closed code
8006423hotspotSA: NullPointerException in sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:67)
8007005hotspotJEP 167 tracing gives negative time stamps for certain event fields
8007085hotspotEnableTracing prints garbage for Compilation: [Java Method
8007147hotspotTrace event ExecuteVMOperation may get dangling pointer
8007150hotspotEvent based tracing is missing truncated field in stack trace content type
8007312hotspotnull check signal semaphore in os::signal_notify windows
8007804hotspotNeed to be able to access Performance counter by name from JVM
8008088hotspotSA can hang the VM
8008102hotspotSA on OS X does not stop the attached process
8008208hotspotEvent tracing for code cache subsystems can give wrong timestamps
8011400hotspotmissing define OPENJDK for windows builds
8011882hotspotReplace spin loops as back off when suspending
8012210hotspotMake TracingTime available when INCLUDE_TRACE = 0
8012714hotspotAssign the unique traceid directly to the Klass upon creation
8013117hotspotThread-local trace_buffer has wrong type and name
8014411hotspotDecrease lock order rank for event tracing locks
8014420hotspotDefault JDP address does not match the one assigned by IANA
8014478hotspotEnableTracing: output from multiple threads may be mixed together
8015576hotspotCMS: svc agent throws java.lang.RuntimeException: No type named "FreeList" in database
8016735hotspotRemove superfluous EnableInvokeDynamic warning from UnlockDiagnosticVMOptions check
8020547hotspotEvent based tracing needs a UNICODE string type
8021353hotspotEvent based tracing is missing thread exit
7157734hotspothotspot test scripts not testing 64-bit JVM under JPRT/JTREG.
8010084hotspotRace in runtime/NMT/BaselineWithParameter.java
7086516installNeed to add "Java" items to Windows Start Menu
7155405installVendor in rpm packages is still Sun Microsystems
7166327installJRE uninstall does not recover jarfile reg entry on 64bit systems
7175065install[IPS] Change the license line width to 72 characters
7177044installNLS: Relocate untranslatable resources from translatable rc files
7182211installJCP - (TM) is not removed from Java(TM) Update
7184019installdrop installer.dll in the jre bin dir, so it's up-to-date during uninstall after PnP
7184404installMacOS AU needs to support a scheduled update check
7189314installTypo, wrong Symlink path to JavaControlPanel.prefPane
7195788installjre installer for MacOS - first character "J" for Java is dropped in Japanese "welcome" message
7199031installNLS: Need to update the translation for the sdk installer
8007045installMac Installer should invoke verify page after install completes
8007261installjfxrt.jar should be pack200 compressed
8007713installIncomplete Java VisualVM installation
8008143installAutomate the generation of rtfd files at build time
8009319installUpdate information link in the Windows Control Panel entry for Java still points to java.sun.com
8012038installinit installed by jdk v1.7.0_17 rpm on linux is broken; correction included
8016680installwrapper.jreboth target missed with push for 8016471
8011986other-libs[corba] idlj generates read/write union helper methods that throw wrong exception in some cases
4504275other-libsCORBA boolean type unions do not generate compilable code from idlj
7056731other-libsRace condition in CORBA code causes re-use of ABORTed connections
8011122other-libsUpdate JDK7 with Java DB 10.8.3.0
8007748other-libsMacOSX build error : cast of type 'SEL' to 'uintptr_t' (aka 'unsigned long') is deprecated; use sel_getName instead
8009928performancePSR:PERF Increase default string table size
8004846security-libsTime-specific certpath validation applies to OCSP response validity period
8004873security-libsArrayindexoutofboundsexception for jce decrypting
7109096security-libskeytool -genkeypair needn't call -selfcert
7149012security-libsjarsigner needs not warn about cert expiration if the jar has a TSA timestamp
7152121security-libsKrb5LoginModule no longer handles keyTabNames with "file:" prefix
7153343security-libsDependency on non-POSIX header file <link.h> causes portability problem
7158329security-libsNPE in sun.security.krb5.Credentials.acquireDefaultCreds()
7172149security-libsArrayIndexOutOfBoundsException from Signature.verify
7184815security-libs[macosx] Need to read Kerberos config in files
7194472security-libsFileKeyTab.java test fails on Windows
7201053security-libsKrb5LoginModule shows NPE when both useTicketCache and storeKey are set to true
8009617security-libsjarsigner fails when TSA response contains a status string
8011313security-libsOCSP timeout set to wrong value if com.sun.security.ocsp.timeout not defined
8011745security-libsUnknown CertificateChoices
8011867security-libsAccept unknown PKCS #9 attributes
8020940security-libsValid OCSP responses are rejected for backdated enquiries
7165807security-libsNon optimized initialization of NSS crypto library leads to scalability issues
7201205security-libsAdd Makefile configuration option to build with unlimited crypto in OpenJDK.
7179879security-libsSSLSocket connect times out instead of throwing socket closed exception
7200295security-libsCertificateRequest message is wrapping when using large numbers of Certs
8012082security-libsSASL: auth-conf negotiated, but unencrypted data is accepted, reset to unencrypt
8017173security-libsXMLCipher with RSA_OAEP Key Transport algorithm can't be instantiated
8002344security-libsKrb5LoginModule config class does not return proper KDC list from DNS
8014196security-libsktab creates a file with zero kt_vno
7201156toolsjar tool fails to convert file separation characters for list and extract
7160084toolsjavac fails to compile an apparently valid class/interface combination
7178324toolsCrash when compiling for(i : x) try(AutoCloseable x = ...) {}
7181320toolsjavac NullPointerException for switch labels with cast to String expressions
8004094toolsJavac compiler error - synthetic method accessor generated with duplicate name
8015668toolsoverload resolution: performance regression in JDK 7
8000743toolsdocencoding not available to stylesheet
7185778toolsjavah error "Not a valid class name" on class names with dollar signs
6470730toolsDisconnect button leads to wrong popup message
8014048toolsOnline user guide of jconsole points incorrect link
7151434toolsjava -jar -XX crashes java launcher
7155300toolsInclude pthread.h on all POSIX platforms except Solaris to improve portability
8007333tools[launcher] removes multiple back slashes
8004264toolsIntegrate new version of Java VisualVM based on VisualVM 1.3.5 into 7u14
8014891xmlRedundant setting of external access properties in setFeatures
7166896xmlDocumentBuilder.parse(String uri) is not IPv6 enabled. It throws MalformedURLException
8008738xmlIssue in com.sun.org.apache.xml.internal.serializer.Encodings causes some JCK tests to fail intermittently
8003147xmlport fix for BCEL bug 39695 to our copy bundled as part of jaxp
8013900xmlMore warnings compiling jaxp
8015016xmlImprove JAXP 1.5 error message
8016153xmlProperty http://javax.xml.XMLConstants/property/accessExternalDTD is not recognized.
8022548xmlSPECJVM2008 has errors introduced in 7u40-b34

http://www.oracle.com/technetwork/java/javase/2col/7u40-bugfixes-2007733.html





반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[spring] logback 로그 2번 찍힘  (0) 2018.08.09
Java Bitmap pixel to image(png) setRGB example  (0) 2015.06.17
eclipse @author 변경하기  (0) 2013.07.02
jackson parser sample  (0) 2013.04.02
VisualSVN Post-commit hook  (0) 2013.02.04

반응형

 

Eclipse에서 javadoc 이나 주석을 생성시에

@author를 편집하고 싶을때…

 

 

eclipse.ini 에서 아래 내용 추가

 

-Duser.name="블라블라"

 

 

적용후

반응형

'Computer_IT > JAVA' 카테고리의 다른 글

Java Bitmap pixel to image(png) setRGB example  (0) 2015.06.17
JDK 7 release - Bug Fixes history  (0) 2014.10.20
jackson parser sample  (0) 2013.04.02
VisualSVN Post-commit hook  (0) 2013.02.04
마이피플 위젯 전송 자바 샘플  (0) 2012.07.11

반응형


import com.fasterxml.jackson.core.JsonGenerationException;

import com.fasterxml.jackson.databind.JsonMappingException;

import com.fasterxml.jackson.databind.ObjectMapper;

import com.fasterxml.jackson.databind.SerializationFeature;


...

....

....


public static String getJSON(Map<?, ?> map) throws JsonGenerationException, JsonMappingException, IOException

{

if (map == null ) return null;

ObjectMapper mapper = new ObjectMapper();


// pretty format

mapper.configure(SerializationFeature.INDENT_OUTPUT, true);

StringWriter sw = new StringWriter();

mapper.writeValue(sw, map);

return sw.toString();

}


반응형

'Computer_IT > JAVA' 카테고리의 다른 글

JDK 7 release - Bug Fixes history  (0) 2014.10.20
eclipse @author 변경하기  (0) 2013.07.02
VisualSVN Post-commit hook  (0) 2013.02.04
마이피플 위젯 전송 자바 샘플  (0) 2012.07.11
myBatis multi db vendor support  (0) 2011.12.07

반응형

Properties 에 Post-commit hook 에 등록



"%VISUALSVN_SERVER%\bin\VisualSVNServerHooks.exe" ^

    commit-notification "%1" -r %2 ^

    --from 보내는메일 --to 수신메일주소 ^

    --smtp-server SMTP서버주소 ^ 

    --smtp-user 접속계정 ^

    --smtp-password 접속비밀번호 ^

    --smtp-port 587 ^

    --no-diffs


참고 URL : http://www.visualsvn.com/support/topic/00018/



반응형

'Computer_IT > JAVA' 카테고리의 다른 글

eclipse @author 변경하기  (0) 2013.07.02
jackson parser sample  (0) 2013.04.02
마이피플 위젯 전송 자바 샘플  (0) 2012.07.11
myBatis multi db vendor support  (0) 2011.12.07
Cannot create a server using the selected type  (0) 2010.06.23

반응형
마이피플로 전송하는게 있길래 간단히 만들어봄..

receiverKey 는 마이피플 개인키 (다음 위젯에서 구할수 있음),
fromName 은 발송정보
msg는 실제 보내는 메세지 정보.. 약 250바이트 정도인듯..

  public static void Logger( String receiverKey, String fromName, String msg)

{

StringBuffer sb = new StringBuffer();

try {

sb.append("key=");

sb.append( receiverKey );

sb.append("&from=");

sb.append( fromName );

sb.append("&");

sb.append("content");

sb.append("=");

sb.append(URLEncoder.encode( msg , "UTF-8" ) );

URL url = new URL("http://air21.daum.net/air21/widget/sendMessage.daum");

URLConnection conn = url.openConnection();

conn.setDoOutput(true);

OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());

wr.write(sb.toString());

wr.flush();

BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));

String line = null;

while ((line= rd.readLine() ) != null) {

System.out.println(line);

}

wr.close();

rd.close();

} catch (UnsupportedEncodingException e) {

e.printStackTrace();

} catch (MalformedURLException e) {

e.printStackTrace();

} catch (IOException e) {

e.printStackTrace();

}

}


반응형

'Computer_IT > JAVA' 카테고리의 다른 글

jackson parser sample  (0) 2013.04.02
VisualSVN Post-commit hook  (0) 2013.02.04
myBatis multi db vendor support  (0) 2011.12.07
Cannot create a server using the selected type  (0) 2010.06.23
groovy - db2 jdbc 연결 기본 예제  (0) 2009.10.07

반응형

1. 최초 확인한곳..
http://code.google.com/p/mybatis/issues/detail?id=21&colspec=ID%20Type%20Component%20Status%20Priority%20Version%20Target%20Summary%20Reporter


2.  DTD 적용 확인,  
 http://mybatis.org/dtd/mybatis-3-mapper.dtd

3. 
3.1.0 SNAPSHOT 다운로드 / http://code.google.com/p/mybatis/wiki/Downloads?tm=2

4. 사용법

public static SqlSessionFactory sqlMapper = MyBatisManager.getInstance();
System.out.println(  sqlMapper.getConfiguration().getDatabaseId() ); 

등으로 DatabaseId 확인...


testMapper.xml

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE mapper

PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"

"http://mybatis.org/dtd/mybatis-3-mapper.dtd">


<mapper namespace="testMapper">


<!-- DB2 용 -->

<select id="getUserId" resultType="HashMap" databaseId="DB2/AIX64">

SELECT * FROM DB2_TABLE

</select>

<!-- CUBRID 용-->

<select id="getUserId" resultType="HashMap" databaseId="CUBRID">

SELECT * FROM CUBRID_TABLE

</select>


<!-- databaseId가 정의가 안되었을시... -->

<select id="getUserId" resultType="HashMap">

SELECT * FROM ETC_TABLE

</select>
 

</mapper>

 

in Java...

list = session.selectList("testMapper.getUserId");
일상적으로 사용... 

 
 
 
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

VisualSVN Post-commit hook  (0) 2013.02.04
마이피플 위젯 전송 자바 샘플  (0) 2012.07.11
Cannot create a server using the selected type  (0) 2010.06.23
groovy - db2 jdbc 연결 기본 예제  (0) 2009.10.07
Java jconsole 설정  (0) 2009.08.20

반응형


원인
참조하고 있는 Tomcat 경로가 변경되었을시에 발생


해결

이클립스 종료후
Workspace로 이동후.

.metadata/.plugins/org.eclipse.core.runtime/.settings 를 열어 보면
org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs 파일을 삭제!

이클립스 시작후 재 등록





출처 : http://forums.sun.com/thread.jspa?threadID=5368347
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

마이피플 위젯 전송 자바 샘플  (0) 2012.07.11
myBatis multi db vendor support  (0) 2011.12.07
groovy - db2 jdbc 연결 기본 예제  (0) 2009.10.07
Java jconsole 설정  (0) 2009.08.20
ibatis / spring / all jdbc / SQL Logger  (0) 2009.06.15

반응형


 import groovy.sql.Sql
class A {
  static void main(String[] args) {

    def sql = Sql.newInstance("jdbc:db2://아이피:50000/데이터베이스명", "아이디","비밀번호", "com.ibm.db2.jcc.DB2Driver")
    sql.eachRow("select * from TABLENAME "){
      println it.컬럼명 + " ${it.컬럼명}"

    }
  }
}




심플
반응형

반응형

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=????(포트 숫자)
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
반응형

반응형


JSP에서 매번 System.out.println() 해서 tomcat의 catalina.log 등을 tail 등으로 감시하면서 개발을 하다.
ibatis + log4j 를 이용하여 쿼리를 디버깅 하던중...
binding (?) 된 값을을 볼수 없을까 하고 찾아 보던중...

log4sql 을 발견!!!

기존 jdbc driver를 변경만 해주면 멋진 log들이...

com.ibm.db2.jcc.DB2Driver -> core.log.jdbc.driver.DB2Driver


URL : http://log4sql.sourceforge.net/index_kr.html
개발하신분 블로그 : http://jquery.egloos.com/

제작하신 만든분 정말 감사합니다.!

참고 블로그 : http://westzero.net/16

반응형

반응형
AMChart 를 PNG 파일로 저장하는 코드...
org.jfree.chart.ChartUtilities의 writeBufferedImageAsPNG 이용...






amchart의 setting 파일에 다음 내용 추가...
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

Java jconsole 설정  (0) 2009.08.20
ibatis / spring / all jdbc / SQL Logger  (0) 2009.06.15
HashMap -> Collection -> Iterator  (0) 2008.05.19
제9회 자바 개발자 컨퍼런스 참관  (2) 2008.02.16
JAVA JSpinner Number 사용법  (0) 2008.01.02

반응형

  HashMap hashmap = new HashMap();

  Collection coll = hashmap.values();
  Iterator iter = coll.iterator();
  while (iter.hasNext()) {
    Object obj = iter.next();
  }

반응형

반응형

제9회 한국 자바 개발자 컨퍼런스 ...

사용자 삽입 이미지
제9회 글자와 밑에 스폰서만 바꾼 현수막...?

사용자 삽입 이미지
사전등록 확인 코너에 줄을 서서 대기하시는 분들.. 언제 받으려나...

사용자 삽입 이미지
여러 부스에서 경품을 받을려고 줄을 서 있는분들 ...
작년보다 더 많은거 같았다.

사용자 삽입 이미지
미리 착석해 계신분들... 자리가 없을 정도 (그래도 밖엔 사람들 많았음)

사용자 삽입 이미지
받은 책자...
지난회 보다 두꺼워 졌다~.


개선했으면 하는점...
1. 수용인원이 너무 부족한 장소 (제일 먼저 바뀌어야 되는 상황) 자바 개발자가 늘어가는 상황과 8회와는 다르게 블로그를 통한 홍보 이벤트 까지 했으니 더 많은 인원이 참관하는건 당연지사, 그걸 알면서 행사를 개최..
수많은 협찬사는 부록??....

2. 외부 업체 부스에서 자바 개발자라면 가입되어있을만한 (OTN/SunDeveloperNetworks)에 신규가입 이벤트를 진행하는건 아이러니?
- 중복가입하는건 센스?
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

AMChart to PNG file - JFreeChart Library use...  (0) 2008.09.11
HashMap -> Collection -> Iterator  (0) 2008.05.19
JAVA JSpinner Number 사용법  (0) 2008.01.02
ECLIPSE - eclipse.ini 실행옵션  (0) 2007.12.06
Servlet to Applet (Echo) Example  (0) 2007.11.23

반응형

SpinnerModel model =
new SpinnerNumberModel(0, // 초기값
                0,        // 최소값
              100,        // 최대값
                1);       // 증가값
JSpinner spinner = new JSpinner(model);


반응형

'Computer_IT > JAVA' 카테고리의 다른 글

HashMap -> Collection -> Iterator  (0) 2008.05.19
제9회 자바 개발자 컨퍼런스 참관  (2) 2008.02.16
ECLIPSE - eclipse.ini 실행옵션  (0) 2007.12.06
Servlet to Applet (Echo) Example  (0) 2007.11.23
Eclipse - JAD Pluggin  (0) 2007.11.19

반응형

-showsplash
org.eclipse.platform

-vmargs
-Xverify:none
-XX:+UseParallelGC
-XX:PermSize=64M
-XX:MaxPermSize=128M
-XX:MaxNewSize=64M
-XX:NewSize=64M
-Xms512m
-Xmx512m

반응형

'Computer_IT > JAVA' 카테고리의 다른 글

제9회 자바 개발자 컨퍼런스 참관  (2) 2008.02.16
JAVA JSpinner Number 사용법  (0) 2008.01.02
Servlet to Applet (Echo) Example  (0) 2007.11.23
Eclipse - JAD Pluggin  (0) 2007.11.19
[SWT] 기본적인 Hello Window  (0) 2007.08.13

반응형

Servlet to Applet (Echo)  Example

http://www.frank-buss.de/echoservlet/

반응형

'Computer_IT > JAVA' 카테고리의 다른 글

JAVA JSpinner Number 사용법  (0) 2008.01.02
ECLIPSE - eclipse.ini 실행옵션  (0) 2007.12.06
Eclipse - JAD Pluggin  (0) 2007.11.19
[SWT] 기본적인 Hello Window  (0) 2007.08.13
[java5] Calendar Example - 년 월 일 시 분 초  (0) 2006.09.28

반응형
다운받을수 있는 사이트..


SourceForge - JAD
http://sourceforge.net/project/showfiles.php?group_id=40205


Wki
http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download


사용법 :
ex)
1번째
http://www.kpdus.com/jad.html 에서
해당 OS의 JAD. 파일을 다운 받아 PATH가 설정된 곳에 위치

2번째
net.sf.jadclipse_3.3.0.jar ->Eclipse/plugins에 Jar File을 Extract 함.

Eclipse 의 Window->Preferences 선택
사용자 삽입 이미지

반응형

반응형

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;


public class HelloSwtWindow {

        public static void main(String[] args) {
                Display display = new Display();
               
                Shell shell = new Shell(display);
                shell.setText("My SWT window");
               
                shell.open();
               
                while(!shell.isDisposed())
                {
                        if(!display.readAndDispatch())
                        {
                                display.sleep();
                        }
                }
               
                display.dispose();
        }

}

파일명 : HelloSwtWindow.java
invalid-file

다운로드



실행결과

실행결과


반응형

반응형
 
  1. import java.util.Calendar;
  2. import java.util.Date;
  3. class CalendarExam {
  4.   public static void main(String args[]) {
  5.     Calendar calendar = Calendar.getInstance();
  6.    
  7.     System.out.print( calendar.get(Calendar.YEAR) + "년  ");
  8.    
  9.     System.out.print( calendar.get(Calendar.MONTH)+1 + "월  ");
  10.    
  11.     System.out.print( calendar.get(Calendar.DAY_OF_MONTH) + "일  ");
  12.     System.out.print( calendar.get(Calendar.HOUR) + "시 ");
  13.    
  14.     System.out.print( calendar.get(Calendar.MINUTE) + "분 ");
  15.    
  16.     System.out.print( calendar.get(Calendar.SECOND) + "초 ");
  17.    
  18.     System.out.print( calendar.get(Calendar.DAY_OF_MONTH) + "일  ");
  19.   }
  20. }
 
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

Eclipse - JAD Pluggin  (0) 2007.11.19
[SWT] 기본적인 Hello Window  (0) 2007.08.13
[java] 인수로 주어진 파일에 대한 정보 출력  (0) 2006.09.27
[JAVA] APPLET - ButtonEvent  (0) 2006.09.18
[JAVA] APPLET - Label 사용예제  (0) 2006.09.18

반응형
 
  1. import java.io.File;

  2. public class FileInfo
  3. {
  4.   public static void main(String args[])
  5.   {
  6.     if(args.length!=1) {
  7.       System.out.println(" ex) : java FileInfo <파일이름>" );
  8.       System.exit(1);
  9.     }
  10.    
  11.     File infoFile = new File(args[0]);
  12.    
  13.     if(infoFile.exists()) {
  14.       System.out.println("파일이름 : " + infoFile.getName());
  15.       System.out.println("상대경로 : " + infoFile.getPath());
  16.       System.out.println("절대경로 : " + infoFile.getAbsolutePath());
  17.       System.out.println("쓰기가능 : " + infoFile.canWrite());
  18.       System.out.println("읽기가능 : " + infoFile.canRead());
  19.       System.out.println("숨은파일 : " + infoFile.isHidden());
  20.       System.out.println("파    일 : " + infoFile.isFile());
  21.       System.out.println("디렉토리 : " + infoFile.isDirectory());
  22.       System.out.println("파일크기 : " + infoFile.length() + "Byte");
  23.       System.out.println("최종수정 : " + infoFile.lastModified());
  24.     } else {
  25.       System.out.println("파일이 없습니다.");
  26.     }
  27.   }
  28. }

반응형

반응형
버튼을 생성하여 컨테이너 애플릿에 붙인뒤 이벤트 처리
  1. import java.awt.*;
  2. import java.applet.*;
  3. import java.awt.event.*;
  4. public class ButtonExam extends Applet implements ActionListener
  5. {
  6.   Label myLabel;
  7.   Button myButton1, myButton2, myButton3;
  8.   public void init()
  9.   {
  10.     myButton1 = new Button();
  11.     myButton1.setLabel("C언어");
  12.     myButton1.addActionListener(this);
  13.     add(myButton1);
  14.     myButton2 = new Button("C++언어");
  15.     myButton2.addActionListener(this);
  16.     add(myButton2);
  17.    
  18.     myButton3 = new Button("자바");
  19.     myButton3.addActionListener(this);
  20.     add(myButton3);
  21.    
  22.     myLabel = new Label();
  23.     myLabel.setText("버튼을 눌러주세요!");
  24.     myLabel.setAlignment(Label.CENTER);
  25.     myLabel.setBackground(Color.yellow);
  26.     add(myLabel);
  27.   }
  28.   public void actionPerformed(ActionEvent e)
  29.   {
  30.     if(e.getSource() == myButton1) {
  31.       myLabel.setText("선택 : C언어");
  32.     } else if(e.getSource()==myButton2) {
  33.       myLabel.setText("선택 : C++언어");
  34.     } else if(e.getSource()==myButton3) {
  35.       myLabel.setText("선택 : 자바");
  36.     }
  37.   }
  38. }

반응형

반응형
  레이블을 생성하여 Applet 컨테이너에 붙이는 Example
  1. import java.awt.*;
  2. import java.applet.*;
  3. public class LabelExam extends Applet
  4. {
  5.   Label myLabel1, myLabel2, myLabel3;
  6.   public void init()
  7.   {
  8.     myLabel1 = new Label();
  9.     myLabel1.setText("Label 테스트 프로그램");
  10.     myLabel1.setAlignment(Label.LEFT);
  11.     myLabel1.setBackground(Color.cyan);
  12.     add(myLabel1);
  13.   }
  14. }

반응형

반응형
방향키를 이용해 button 움직이기

파일명 : KeyEvent1.java
  1. import java.awt.*;
  2. import java.awt.event.*;
  3. public class KeyEvent1 extends Frame {
  4.   Button man;
  5.   public KeyEvent1(String title) {
  6.     super(title);
  7.     setLayout(null);
  8.     this.setSize(200, 200);
  9.    
  10.     man = new Button("Man");
  11.     man.setBounds(100, 100, 40, 20);
  12.     man.setBackground(Color.BLUE);
  13.     man.setForeground(Color.WHITE);
  14.     this.add(man);
  15.     man.addKeyListener(new KeyHandler());
  16.   }
  17.   public static void main(String args[]) {
  18.     KeyEvent1 me = new KeyEvent1(" Key 이벤트 활용 ");
  19.     me.setVisible(true);
  20.   }
  21.   class KeyHandler extends KeyAdapter {
  22.     public void keyPressed(KeyEvent e) {
  23.       String direction = e.getKeyText(e.getKeyCode());
  24.       System.out.println(direction);
  25.       int x=man.getX();
  26.       int y=man.getY();
  27.      
  28.       if(direction.equals("Right")) x+=10;
  29.       else if(direction.equals("Left")) x-=10;
  30.       else if(direction.equals("Down")) y+=10;
  31.       else if(direction.equals("Up")) y-=10;
  32.      
  33.       man.setLocation(x, y);
  34.     }
  35.   }
  36. }
 
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[JAVA] APPLET - ButtonEvent  (0) 2006.09.18
[JAVA] APPLET - Label 사용예제  (0) 2006.09.18
[JAVA5] ActionEvent Example  (0) 2006.09.14
[JAVA] InetAddress  (0) 2006.09.14
콘솔입력받아 배열에 넣기  (0) 2006.04.16

반응형
TextField 의 내용을 Console로 출력한다.

파일명 : ActionEvent1.java
  1. import java.awt.*;
  2. import java.awt.event.*;
  3. public class ActionEvent1 extends Frame implements ActionListener {
  4.   TextField tf;
  5.   public ActionEvent1(String title) {
  6.     super(title);
  7.     tf=new TextField(20);
  8.    
  9.     // this는 Frame이면서, ActionListener 객체이다.
  10.     tf.addActionListener(this);
  11.    
  12.     //  텍스트 필드를 프레임(this)에 추가한다.
  13.     add(tf);   
  14.   }
  15.   public void actionPerformed(ActionEvent e) {
  16.     // 이벤트 소스가 TextField형 객체이면
  17.     if(e.getSource() instanceof TextField) {
  18.      
  19.       // 이벤트 소스를 가져온다.
  20.       TextField temp = (TextField)e.getSource();
  21.       // 화면에 temp의 문자열 출력
  22.       System.out.println(temp.getText());
  23.      
  24.       // temp의 내용을 지운다.  
  25.       temp.setText("");
  26.     }
  27.   }
  28.   public static void main(String args[]) {
  29.     ActionEvent1 me = new ActionEvent1("액션 이벤트 처리");
  30.     me.pack();
  31.     me.setVisible(true);
  32.   }
  33. }
 
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[JAVA] APPLET - Label 사용예제  (0) 2006.09.18
[JAVA5] 방향키를 이용해 button 움직이기  (0) 2006.09.14
[JAVA] InetAddress  (0) 2006.09.14
콘솔입력받아 배열에 넣기  (0) 2006.04.16
JAVA class 정의  (0) 2006.04.12

반응형
  1. import java.net.*;
  2. class AddressTest {
  3.   public static void main(String args[])
  4.   {
  5.    
  6.     try
  7.     {
  8.       InetAddress Address = InetAddress.getLocalHost();
  9.      
  10.       System.out.println("로컬 컴퓨터의 이름 : "
  11.                   + Address.getHostName() );
  12.       System.out.println("로컬 컴퓨터의 IP : "
  13.                   + Address.getHostAddress() );
  14.       Address = InetAddress.getByName("java.sun.com");
  15.       System.out.println("java.sun.com 컴퓨터의 이름과 IP 주소 : "
  16.                   + Address);
  17.       InetAddress SW[] = InetAddress.getAllByName("www.naver.com");
  18.      
  19.       for(int i=0; i<SW.length; i++)
  20.       {
  21.         System.out.println(SW[i]);
  22.       }
  23.     }
  24.    
  25.     catch (UnknownHostException e)
  26.     {
  27.       System.out.println("알수없는 호스트");
  28.     }
  29.              
  30.   }
  31. }
 
반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[JAVA5] 방향키를 이용해 button 움직이기  (0) 2006.09.14
[JAVA5] ActionEvent Example  (0) 2006.09.14
콘솔입력받아 배열에 넣기  (0) 2006.04.16
JAVA class 정의  (0) 2006.04.12
JAVA에서 Console 문자열 입력받기  (0) 2006.04.05

반응형

[CODE type="java"]
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.StringTokenizer;
import java.io.IOException;

public class Grading
{

  private void mCTA()
  {

   BufferedReader br;
   StringTokenizer st=null;
   int i=0;
   int[] iArr= new int[10];

   System.out.print("Input ? ");

   br = new BufferedReader(new InputStreamReader(System.in));         

try
   {

     String str = br.readLine();
     System.out.println("\nInput-value = " + str);
     st = new StringTokenizer(str);
   }
  
   catch(IOException ioex)
   {
     ioex.printStackTrace();
   }

   while (st.hasMoreTokens())
   {
       iArr[i]= Integer.parseInt(st.nextToken());
       System.out.println("iArr[" + i + "]=" +iArr[i]);
       i++;
   }
  
  }

  public static void main(String[] args)
  {
   Grading cta=new Grading();
   cta.mCTA();
  }

}
[/HTML][/CODE]

반응형

'Computer_IT > JAVA' 카테고리의 다른 글

[JAVA5] ActionEvent Example  (0) 2006.09.14
[JAVA] InetAddress  (0) 2006.09.14
JAVA class 정의  (0) 2006.04.12
JAVA에서 Console 문자열 입력받기  (0) 2006.04.05
2차원 배열 생성, 값 배정  (1) 2006.04.05