Results of trying the nbm. I uninstalled JShell. Tried to install the downloaded one but NB complained JShell was already installed. Searched "available" and noted the one in plugins is dated today so figured it was your update and installed it. JShell is not on the tools menu and reset is not on the edit menu. JShell status is not "activated" and I don't know how to "activate" it since the "activate" button is greyed out.
So now NB (and I've since upgraded to 183 binary) has no JShell though it is installed but not active. Sorry to be such a pain in the butt. Probably user error. Everybody else is building the source but I haven't been able to build it yet. I just live under a black cloud I think. P. S. That's an interesting "feature" of creating a sql.Date object! But it DOES work.... Thanks. Makes me wonder how many other "gotchas" there may be lurking in JShell??? On Fri, Jan 19, 2018 at 8:59 AM, Svata Dedic <[email protected]> wrote: > Dne 19.1.2018 v 17:46 Chuck Davis napsal(a): > >> >> jshell> System.out.println(new java.sql.Date(1415980523459).toString()); >> | Error: >> | integer number too large: 1415980523459 >> | System.out.println(new java.sql.Date(1415980523459).toString()); >> | ^ >> I think it's been a LONG time since we could create a date with an >> integer!! >> > > Add "l" suffix at the end of that big number. Without it, it parses to > integer literal and overflows. > > -S > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >
