These are chat archives for HotswapProjects/user

17th
May 2017
bhuvangu
@bhuvangu
May 17 2017 15:21
" Note that there must be a plugin that will provide actual replacement such as JettyPlugin for Jetty servlet container."<<<
what does it mean .. this text is present in http://hotswapagent.org/mydoc_plugin_jetty.html
bhuvangu
@bhuvangu
May 17 2017 15:47
hotswap is not working with embedded jetty
Vladimir Dvorak
@skybber
May 17 2017 16:28
what does it mean not working?
could you supply your jvm arguments ?
bhuvangu
@bhuvangu
May 17 2017 16:34
yes.. i am trying one more thing.. will update the full case in sometime.. thanks for offering a helping hand :+1:
bhuvangu
@bhuvangu
May 17 2017 17:03
Hi.. is it correct that hotswap cant change method body for current running method
public static void main(String[] args) throws Exception {
  Main main = new Main();
  main.methodWhereExcutionIsHaltNClassIsUpdated();
 }
 private void methodWhereExcutionIsHaltNClassIsUpdated() throws Exception {
  Scanner scan = new Scanner(System.in);

  System.out.print("Enter a: ");
  // before running the next line we update the class file to print "a:" to "AMODIFED"
  // but still it prints the "a:"
  Integer a = Integer.parseInt(scan.next());

  System.out.print("a: "+ a);
 }
}
Vladimir Dvorak
@skybber
May 17 2017 18:04