8134984: Text files should end in exactly one newline

Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
This commit is contained in:
Martin Buchholz 2015-09-02 14:11:50 -07:00
parent 564b2c9337
commit 24742f7b1d
156 changed files with 86 additions and 234 deletions
jdk
README
make/netbeans/jdbc
src
demo/share/applets
Fractal
MoleculeViewer
java.base
share/native/libzip
unix/classes/sun/net/www
windows/classes/sun/net/www
java.desktop
java.logging/share/classes/java/util/logging
java.sql.rowset/share/classes/javax/sql/rowset
java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security
algorithms
keys
content
keyresolver
storage
transforms
sample/share
annotations
DependencyChecker/PluginChecker/src/checker
index.html
lambda/BulkDataOperations
try-with-resources
test
com/sun
awt/SecurityWarning
crypto/provider/Mac
jdi
jmx/remote/NotificationMarshalVersions
security/auth/module/LdapLoginModule
java
awt
Component
DimensionEncapsulation
InsetsEncapsulation
SetEnabledPerformance
Cursor/MultiResolutionCursorTest
FileDialog/ModalFocus
Focus/6981400
FontClass
Frame
FramesGC
MaximizedToUnmaximized
MenuBar/RemoveHelpMenu
Mixing
Mouse/MouseDragEvent
MouseInfo
Robot/RobotWheelTest
ScrollPane
TrayIcon/TrayIconPopup
Window/AlwaysOnTop
applet/Applet
appletviewer/IOExceptionIfEncodedURLTest
datatransfer
ClipboardInterVMTest
DataFlavor/XJavaUrlDataFlavorTest
MissedHtmlAndRtfBug
event/MouseEvent/CTORRestrictions
im
beans
README
SimpleBeanInfo/LoadingStandardIcons
io/Serializable/evolution/AddedSuperClass
lang
ClassLoader
management/MemoryMXBean
net/SocketPermission
nio/channels
SocketChannel
spi/SelectorProvider/inheritedChannel
rmi/registry/readTest
security
KeyStore/PKCS12
SignedObject
util
AbstractCollection
Arrays
Locale
concurrent/CompletableFuture

@ -25,5 +25,3 @@ Simple Build Instructions:
5. Construct the images:
cd make && gnumake images
The resulting JDK image should be found in build/*/j2sdk-image

@ -43,4 +43,4 @@ build.release = ${build.jdk.version}-opensource
build.number = b00
jdbc.version = ${build.release}-${user.name}-${build.number}
jdbc.args = -debug
javadoc.options=-J-Xmx256m -Xdoclint:none -keywords -quiet
javadoc.options=-J-Xmx256m -Xdoclint:none -keywords -quiet

@ -23,5 +23,3 @@
<a href="CLSFractal.java">The source</a>.
</body>
</html>

@ -14,9 +14,3 @@
<a href="XYZApp.java">The source</a>.
</body>
</html>

@ -66,5 +66,3 @@ Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler,
}
return adler;
}

@ -275,6 +275,3 @@ message/rfc822: \
application/xml: \
description=XML document;\
file_extensions=.xml

@ -272,5 +272,3 @@ message/rfc822: \
application/xml: \
description=XML document;\
file_extensions=.xml

@ -27,4 +27,4 @@ package com.apple.eawt;
interface _OpenAppHandler {
void handleOpenApp();
}
}

@ -1098,4 +1098,4 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
};
table.putDefaults(uiDefaults);
}
}
}

@ -278,5 +278,3 @@ public class CDataTransferer extends DataTransferer {
return false;
}
}

@ -1406,5 +1406,3 @@ JNF_COCOA_EXIT(env);
return underMouse;
}

@ -289,4 +289,4 @@ JNIEXPORT jboolean JNICALL Java_sun_lwawt_macosx_CClipboard_checkPasteboardWitho
JNF_COCOA_EXIT(env);
return ret;
}
}

@ -183,4 +183,4 @@ public class MultiResolutionCachedImage extends AbstractMultiResolutionImage {
return false;
}
}
}
}

@ -80,5 +80,3 @@ struct Format3AnchorTable : AnchorTable
U_NAMESPACE_END
#endif

@ -104,5 +104,3 @@ public:
U_NAMESPACE_END
#endif

@ -63,5 +63,3 @@ LE_VAR_ARRAY(CursiveAttachmentSubtable, entryExitRecords)
U_NAMESPACE_END
#endif

@ -61,5 +61,3 @@ LE_VAR_ARRAY(DeviceTable, deltaValues)
U_NAMESPACE_END
#endif

@ -63,5 +63,3 @@ private:
U_NAMESPACE_END
#endif

@ -62,5 +62,3 @@ LE_VAR_ARRAY(MarkArray, markRecordArray)
U_NAMESPACE_END
#endif

@ -109,5 +109,3 @@ LE_VAR_ARRAY(PairPositioningFormat2Subtable, class1RecordArray)
U_NAMESPACE_END
#endif

@ -71,5 +71,3 @@ LE_VAR_ARRAY(SinglePositioningFormat2Subtable, valueRecordArray)
U_NAMESPACE_END
#endif

@ -68,5 +68,3 @@ LE_VAR_ARRAY(SingleSubstitutionFormat2Subtable, substituteArray)
U_NAMESPACE_END
#endif

@ -129,5 +129,3 @@ inline ThaiShaping::StateTransition ThaiShaping::getTransition(le_uint8 state, l
U_NAMESPACE_END
#endif

@ -94,5 +94,3 @@ enum ValueFormatBits
U_NAMESPACE_END
#endif

@ -1836,5 +1836,3 @@ cmsBool CMSEXPORT cmsPipelineEvalReverseFloat(cmsFloat32Number Target[],
return TRUE;
}

@ -201,5 +201,3 @@ void CMSEXPORT _cmsMAT3eval(cmsVEC3* r, const cmsMAT3* a, const cmsVEC3* v)
r->n[VY] = a->v[1].n[VX]*v->n[VX] + a->v[1].n[VY]*v->n[VY] + a->v[1].n[VZ]*v->n[VZ];
r->n[VZ] = a->v[2].n[VX]*v->n[VX] + a->v[2].n[VY]*v->n[VY] + a->v[2].n[VZ]*v->n[VZ];
}

@ -989,5 +989,3 @@ void* CMSEXPORT cmsGetContextUserData(cmsContext ContextID)
{
return _cmsContextGetClientChunk(ContextID, UserPtr);
}

@ -376,5 +376,3 @@ cmsBool CMSEXPORT cmsAdaptToIlluminant(cmsCIEXYZ* Result,
return TRUE;
}

@ -234,4 +234,4 @@ JNIEXPORT jfloat JNICALL Java_java_awt_SplashScreen__1getScaleFactor
return 1;
}
return splash->scaleFactor;
}
}

@ -84,5 +84,3 @@ HRESULT DwmAPI::DwmGetWindowAttribute(HWND hwnd, DWORD dwAttribute,
}
throw FunctionUnavailableException();
}

@ -131,5 +131,3 @@ THINGS TO DO:
2. Handle exceptions properly. The current code lacks error checking
and recovery. This leads to random runtime crashes.

@ -126,8 +126,3 @@ Java Logging Overview</a>.
</body>
</html>

@ -4467,4 +4467,4 @@ public abstract class BaseRowSet implements Serializable, Cloneable {
static final long serialVersionUID = 4886719666485113312L;
} //end class
} //end class

@ -96,4 +96,4 @@ public interface RowSetFactory{
*/
public WebRowSet createWebRowSet() throws SQLException;
}
}

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
algorithm factories.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:KeyValue</CODE>.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:KeyInfo</CODE>.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:X509Data</CODE>.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
implementations for retrieval of certificates and public keys from elements.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
the resolver framework for retrieval of certificates and public keys from elements.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
implementations of resolvers for retrieval for certificates and public keys from user-specified locations.
</P></BODY></HTML>
</P></BODY></HTML>

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P>
a resolver framework for certificates and public keys from user-specified locations.
</P></BODY></HTML>
</P></BODY></HTML>

@ -24,4 +24,4 @@
package com.sun.org.apache.xml.internal.security.transforms;
public interface TransformParam {
}
}

@ -54,4 +54,4 @@
<value>4</value>
</entry>
</supportedModules>
</device>
</device>

@ -64,4 +64,4 @@
Sources: <a href="Validator/src/">Validator/src/</a>
</ul>
</body>
</html>
</html>

@ -46,4 +46,4 @@
Source: <a href="src/WC.java">src/WC.java</a>
</ul>
</body>
</html>
</html>

@ -33,4 +33,4 @@
</ul>
</body>
</html>
</html>

@ -374,5 +374,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -76,4 +76,4 @@ class Utils {
interface MacTest {
void doTest(String alg) throws Exception;
}
}

@ -442,6 +442,3 @@ public class InterfaceMethodsTest extends TestScaffold {
}
}
}

@ -1215,5 +1215,3 @@ runit()
# Don't know how this arises
debuggeeFailIfPresent "Internal exception"
}

@ -23,4 +23,4 @@
public enum ConfigKey {
CONSTANT3, CONSTANT2;
}
}

@ -23,4 +23,4 @@
public enum ConfigKey {
CONSTANT1, CONSTANT2;
}
}

@ -29,4 +29,4 @@ public class Ste extends NotificationBroadcasterSupport implements SteMBean {
public void foo() {
sendNotification(new TestNotification("test", this, count++));
}
}
}

@ -23,4 +23,4 @@
public interface SteMBean {
public void foo();
}
}

@ -7,5 +7,3 @@ grant {
//permission java.net.SocketPermission "*:636", "connect";
//permission javax.security.auth.AuthPermission "modifyPrincipals";
};

@ -212,4 +212,4 @@ public final class DimensionEncapsulation implements Runnable {
throw new RuntimeException(e);
}
}
}
}

@ -163,4 +163,4 @@ public final class InsetsEncapsulation implements Runnable {
throw new RuntimeException(e);
}
}
}
}

@ -69,4 +69,4 @@ public final class SetEnabledPerformance {
}
});
}
}
}

@ -29,4 +29,4 @@
<applet CODE="MultiResolutionCursorTest.class" WIDTH=300 HEIGHT=100></applet>
<p> See the dialog box (usually in upper left corner) for instructions</p>
</body>
</html>
</html>

@ -134,4 +134,4 @@ public class FileDialogModalFocusTest {
throw new RuntimeException("file chooser is underneath");
}
}
}
}

@ -135,5 +135,3 @@ public class Test3 {
}
}
}

@ -79,5 +79,3 @@ public class LCDScale extends Component {
}
}
}

@ -156,4 +156,4 @@ public class FramesGC {
refs.add(new PhantomReference<Frame>(frame, que));
}
}
}

@ -76,4 +76,4 @@ public class MaximizedToUnmaximized {
frame.dispose();
}
}
}
}

@ -129,4 +129,4 @@ public final class RemoveHelpMenu {
checkMenuCount(menuBar, 0);
checkHelpMenu(helpMenu, false);
}
}
}

@ -426,5 +426,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -421,5 +421,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -424,5 +424,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -425,5 +425,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -430,5 +430,3 @@ class TestDialog extends Dialog
}
}// TestDialog class

@ -100,4 +100,4 @@ public class MouseDraggedTest {
frame.add(panel, BorderLayout.CENTER);
frame.setVisible(true);
}
}
}

@ -144,5 +144,3 @@ public class JContainerMousePositionTest {
frame1.setVisible(true);
}
}

@ -80,4 +80,4 @@ public class RobotWheelTest {
}
}
}
}
}

@ -112,4 +112,4 @@ public class bug8077409Test extends Frame {
}
}
}
}

@ -148,4 +148,4 @@ public class TrayIconPopupTest {
"JPopupMenu shown and menu item selected using keyboard");
}
}
}

@ -59,4 +59,4 @@ public class SyncAlwaysOnTopFieldTest {
window.setVisible(true);
return window;
}
}
}

@ -52,4 +52,4 @@ public class AppletFlipBuffer {
frame.dispose();
}
}
}
}

@ -41,4 +41,4 @@
<APPLET CODE="IOExceptionIfEncodedURLTest.class" WIDTH=200 HEIGHT=200></APPLET>
</body>
</html>
</html>

@ -168,4 +168,4 @@ public class ClipboardInterVMTest {
}
}
}
}
}

@ -342,4 +342,4 @@ class TestDialog extends Dialog implements ActionListener {
}
}
}// TestDialog class
}// TestDialog class

@ -59,4 +59,4 @@ class MyTransferable implements Transferable {
throw new UnsupportedFlavorException(flavor);
}
}
}
}

@ -120,5 +120,3 @@ public class CTORRestrictions_Disable {
frame.dispatchEvent( ( AWTEvent )meOld );
}
}

@ -59,5 +59,3 @@ Confirm the following two behaviors:
<APPLET CODE="bug4490692.class" WIDTH=0 HEIGHT=0></APPLET>
</body>
</html>

@ -45,5 +45,3 @@ Confirm the following behavior:
<APPLET CODE="bug4959409.class" WIDTH=0 HEIGHT=0></APPLET>
</body>
</html>

@ -73,4 +73,4 @@ If the test fails the Error is thrown.
If this object is not null it will be encoded and decoded.
Also the object updating will be tested in this case.
The test() method has a boolean parameter,
which indicates that the test should be started in secure context.
which indicates that the test should be started in secure context.

@ -12,6 +12,3 @@ java WriteAddedSuperClass
rm A.class AddedSuperClass.class
javac ReadAddedSuperClass2.java
java ReadAddedSuperClass2

@ -44,5 +44,3 @@ esac
# now start the test
${TESTJAVA}/bin/java ${TESTVMOPTS} -cp ${TESTSRC}${FS}resource.jar${PS}${TESTCLASSES} GetDotResource

@ -69,5 +69,3 @@ if [ $failures -gt 0 ];
then echo "$failures test(s) failed";
else echo "All test(s) passed"; fi
exit $failures

@ -1,3 +1,3 @@
grant {
permission java.security.AllPermission;
};
};

@ -33,6 +33,3 @@
* )
echo "unrecognized system: $OS" ;;
esac

@ -31,5 +31,3 @@ For step 4 (re-building libLauncher.so) the following environment is required:
(c) Execute the make script :-
Solaris: gnumake all
Linux: gmake all

@ -125,5 +125,3 @@ else
fi
rm -rf OUT.TXT ${RMIREG_OUT} rmi_tmp
exit ${exitCode}

@ -25,4 +25,4 @@ storepass -storetype pkcs12
3. Import certificate
<JAVA-HOME>/bin/keytool -import -alias pkcs12test -keystore ks-pkcs.data
-storepass storepass -file pkcs12testCA.cer.data
-storepass storepass -file pkcs12testCA.cer.data

@ -119,5 +119,3 @@ public class Copy {
}
}
}

@ -211,5 +211,3 @@ public class ToArrayTest {
else {System.out.println(x + " not equal to " + y); fail(); }
}
}

@ -278,4 +278,4 @@ public class SetAllTest {
// expected
}
}
}
}

@ -1 +1 @@
<APPLET CODE="bug4123285.class" CODEBASE="./" WIDTH="250" HEIGHT="325" ALIGN="TOP"></APPLET>
<APPLET CODE="bug4123285.class" CODEBASE="./" WIDTH="250" HEIGHT="325" ALIGN="TOP"></APPLET>

@ -120,4 +120,4 @@ public class ThenComposeExceptionTest {
Assert.assertTrue(eOnWhenComplete.get() instanceof CompletionException,
"Incorrect exception passed to whenComplete: " + eOnWhenComplete.get());
}
}
}

Some files were not shown because too many files have changed in this diff Show More