JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
fails with: Test.java:11: error: incompatible types: cannot infer type-variable(s) T,U.type-variable: CAP#1 extends String from capture of ? extends String 1 error. but if the lambda is implicit: e -> e.trim(), it compiles just fine.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Compile to sample program 2. Run java KeyReader 3. Press Control+x. EXPECTED VERSUS ACTUAL BEHAVIOR : The method should return a string that can be passed to KeyStroke.getKeyStroke.
Also, the printing functions aren't well tested. They are mostly used for logging, Print* options and debugging and error conditions. From my reading stringStream now has a CHeap backing store for the string since JDK-8224193, and LogStream uses malloc...
A DESCRIPTION OF THE PROBLEM : Create a javax.swing.JTextArea with text containing german umlauts. Use a java.awt.PrinterJob object to print the contents of the JTextArea (to a postscript printer, or to a postscript file) using the native print dialog.