[jboss-user] [Javassist user questions] - Re: package rename

spampete do-not-reply at jboss.com
Mon Dec 8 04:28:57 EST 2008


ok, sorry for this stupid question, package rename is included in class rename.

Now, when I rename my com.company.app.TestClassA to com.test.A, I get a strange and quite unexpected "import com.company.app.TestClassA".. how come ?

currently using javassist 3.9.0, don't know if this was already occuring before.

regards


  | package com.company.app;
  | 
  | public class TestClassA{
  |   public TestClassA(){
  |     // ....
  |   }
  | }
  | 

becomes 


  | package com.test;
  | 
  | import com.company.app.TestClassA;
  | 
  | public class A{
  |   public A(){
  |     // ....
  |   }
  | }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194982#4194982

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194982



More information about the jboss-user mailing list