test/script/basic/JDK-8026161.js

changeset 848
bb3e5d0fcc33
parent 632
b01a10c7c7c2
child 952
6d5471a497fb
child 962
ac62e33a99b0
     1.1 --- a/test/script/basic/JDK-8026161.js	Tue May 06 17:54:15 2014 +0530
     1.2 +++ b/test/script/basic/JDK-8026161.js	Tue Feb 11 12:05:22 2014 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   * 
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -28,5 +28,5 @@
    1.11   * @run
    1.12   */
    1.13  
    1.14 -print(new java.awt.Color(1, 1, 1)) // creates Color[r=1,g=1,b=1]
    1.15 -print(new java.awt.Color(1.0, 1.0, 1.0)) // Color[r=255,g=255,b=255]
    1.16 +print(Java.type("jdk.nashorn.test.models.IntFloatOverloadSelection").overloadedMethod(1))
    1.17 +print(Java.type("jdk.nashorn.test.models.IntFloatOverloadSelection").overloadedMethod(1.0))

mercurial